#8D4EE2#8D4EE2
#8D4EE2 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.214 H 299.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4EE2 |
|---|---|
| RGB | rgb(141, 78, 226) |
| HSL | hsl(266, 72%, 60%) |
| HSV | hsv(266, 65%, 89%) |
| CMYK | cmyk(37.6%, 65.5%, 0%, 11.4%) |
| CIE-LAB | lab(47.75, 55.63, -65.68) |
| CIE-LCH | lch(47.75, 86.07, 310.26°) |
| OKLab | oklab(57.39% 0.1039 -0.1871) |
| OKLCH | oklch(57.39% 0.214 299) |
| XYZ | xyz(27.4329, 16.6022, 73.6960) |
| Luminance | 0.1660 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.14
Lightish Purple
#A552E6
ΔE00 4.75
Lighter Purple
#A55AF4
ΔE00 6.22
Blueviolet
#8A2BE2
ΔE00 6.38
Electric Purple
#AA23FF
ΔE00 6.41
Bluish Purple
#703BE7
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4EE2 #A3E24E
analogous
#4E59E2 #8D4EE2 #D74EE2
triadic
#8D4EE2 #E28D4E #4EE28D
tetradic
#8D4EE2 #E24E59 #A3E24E #4EE2D7
square
#8D4EE2 #E24E59 #A3E24E #4EE2D7
split-complementary
#8D4EE2 #E2D74E #59E24E
monochromatic
#511A9C #6C22D1 #8D4EE2 #AF83EB #D1B7F3
Accessibility & contrast
On white
4.86
#8D4EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#8D4EE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4EE2
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4EE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4EE2 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#797091
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8d4ee2; /* rgb */ color: rgb(141, 78, 226); /* oklch */ color: oklch(57.4% 0.214 299.0);
Tailwind
colors: {
custom: {
50: '#b483ec',
500: '#8d4ee2',
950: '#000000',
},
}SCSS
$custom: #8d4ee2; $custom-light: #b483ec; $custom-dark: #000000;
JSON
{
"hex": "#8d4ee2",
"rgb": {
"r": 141,
"g": 78,
"b": 226
},
"hsl": {
"h": 265.541,
"s": 71.845,
"l": 59.608
},
"oklch": {
"l": 0.57388,
"c": 0.21402,
"h": 299
},
"luminance": 0.16602
}Semantic roles & 50–950 ramp
primary
#8D4EE2
secondary
#CAE3A9
accent
#EF39A1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84