#8D4EE1#8D4EE1
#8D4EE1 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.213 H 299.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4EE1 |
|---|---|
| RGB | rgb(141, 78, 225) |
| HSL | hsl(266, 71%, 59%) |
| HSV | hsv(266, 65%, 88%) |
| CMYK | cmyk(37.3%, 65.3%, 0%, 11.8%) |
| CIE-LAB | lab(47.68, 55.38, -65.22) |
| CIE-LCH | lch(47.68, 85.56, 310.33°) |
| OKLab | oklab(57.32% 0.104 -0.1858) |
| OKLCH | oklch(57.32% 0.213 299.2) |
| XYZ | xyz(27.2961, 16.5474, 72.9754) |
| Luminance | 0.1655 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.20
Lightish Purple
#A552E6
ΔE00 4.76
Lighter Purple
#A55AF4
ΔE00 6.29
Blueviolet
#8A2BE2
ΔE00 6.35
Electric Purple
#AA23FF
ΔE00 6.46
Darkorchid
#9932CC
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4EE1 #A2E14E
analogous
#4E59E1 #8D4EE1 #D64EE1
triadic
#8D4EE1 #E18D4E #4EE18D
tetradic
#8D4EE1 #E14E59 #A2E14E #4EE1D6
square
#8D4EE1 #E14E59 #A2E14E #4EE1D6
split-complementary
#8D4EE1 #E1D64E #59E14E
monochromatic
#511A9A #6D23CF #8D4EE1 #AF82EA #D0B7F3
Accessibility & contrast
On white
4.87
#8D4EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#8D4EE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4EE1
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4EE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4EE1 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#7A7091
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8d4ee1; /* rgb */ color: rgb(141, 78, 225); /* oklch */ color: oklch(57.3% 0.213 299.2);
Tailwind
colors: {
custom: {
50: '#b483eb',
500: '#8d4ee1',
950: '#000000',
},
}SCSS
$custom: #8d4ee1; $custom-light: #b483eb; $custom-dark: #000000;
JSON
{
"hex": "#8d4ee1",
"rgb": {
"r": 141,
"g": 78,
"b": 225
},
"hsl": {
"h": 265.714,
"s": 71.014,
"l": 59.412
},
"oklch": {
"l": 0.57316,
"c": 0.21291,
"h": 299.2
},
"luminance": 0.16548
}Semantic roles & 50–950 ramp
primary
#8D4EE1
secondary
#C9E2A9
accent
#EE3AA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84