Skip to content
Kolorvia
#940ed8

Color #940ed8

A vivid, highly saturated medium purple.

Conversions

HEX
#940ed8
RGB
rgb(148, 14, 216)
HSL
hsl(279.8, 87.8%, 45.1%)
HSV / HSB
hsv(279.8, 93.5%, 84.7%)
CMYK
cmyk(31.5%, 93.5%, 0%, 15.3%)
LAB
lab(40.52, 75.71, -71.71)
LCH
lch(40.52, 104.28, 316.55)
OKLCH
oklch(52.3%, 0.2604, 308.36)
HWB
hwb(279.8, 5.5%, 15.3%)

Harmony colors

Complementary

#52d80e

Analogous

#2f0ed8
#940ed8
#d80eb7

Triadic

#940ed8
#d8940e
#0ed894

Split-complementary

#940ed8
#b7d80e
#0ed82f

Tetradic

#940ed8
#d80e52
#52d80e
#0ed894

Square

#940ed8
#d82f0e
#52d80e
#0eb7d8

Shades

Color #940ed8 mixed toward black.

#7b0cb4
#630990
#4a076c
#310548
#190224

Tints

Color #940ed8 mixed toward white.

#ac24f1
#bc50f4
#cd7cf6
#dea7f9
#eed3fc

Tones

Color #940ed8 mixed toward gray.

#8e1fc7
#8930b6
#8341a5
#7e5195
#796284

Accessibility

Aa White text on this color
6.34:1
Aa Black text on this color
3.31:1

White text reads better on this background (6.34:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#7272bf · ΔE 20.6

Deuteranopia

#787eb8 · ΔE 24.7

Tritanopia

#91a8a2 · ΔE 40.5

Achromatopsia

#5f5f5f · ΔE 31.2

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #940ed8;
Tailwind (arbitrary value)
bg-[#940ed8]

Related colors

Dark Orchid #9932cc
Dark Violet #9400d3
Indigo #4b0082
Medium Orchid #ba55d3
Blue Violet #8a2be2
Rebecca Purple #663399

Frequently asked questions

#940ed8 (#940ed8) is rgb(148, 14, 216) in RGB.

No, #940ed8 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #940ed8, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.