#8E4DD3#8E4DD3
#8E4DD3 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.3% C 0.199 H 302.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4DD3 |
|---|---|
| RGB | rgb(142, 77, 211) |
| HSL | hsl(269, 60%, 56%) |
| HSV | hsv(269, 64%, 83%) |
| CMYK | cmyk(32.7%, 63.5%, 0%, 17.3%) |
| CIE-LAB | lab(46.66, 52.66, -58.90) |
| CIE-LCH | lch(46.66, 79.01, 311.80°) |
| OKLab | oklab(56.3% 0.1077 -0.1671) |
| OKLCH | oklch(56.3% 0.199 302.8) |
| XYZ | xyz(25.5644, 15.7617, 63.3109) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.81
Darkorchid
#9932CC
ΔE00 5.28
Lightish Purple
#A552E6
ΔE00 5.29
Blueviolet
#8A2BE2
ΔE00 6.21
Deep Lavender
#8D5EB7
ΔE00 6.49
Amethyst
#9B5FC0
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4DD3 #92D34D
analogous
#4D4FD3 #8E4DD3 #D14DD3
triadic
#8E4DD3 #D38E4D #4DD38E
tetradic
#8E4DD3 #D34D4F #92D34D #4DD3D1
square
#8E4DD3 #D34D4F #92D34D #4DD3D1
split-complementary
#8E4DD3 #D3D14D #4FD34D
monochromatic
#512185 #6F2DB6 #8E4DD3 #AD7EDF #CCAFEB
Accessibility & contrast
On white
5.06
#8E4DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#8E4DD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4DD3
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4DD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4DD3 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#206ED0
Tritanopia (blue-blind)
#806A89
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8e4dd3; /* rgb */ color: rgb(142, 77, 211); /* oklch */ color: oklch(56.3% 0.199 302.8);
Tailwind
colors: {
custom: {
50: '#b482e1',
500: '#8e4dd3',
950: '#000000',
},
}SCSS
$custom: #8e4dd3; $custom-light: #b482e1; $custom-dark: #000000;
JSON
{
"hex": "#8e4dd3",
"rgb": {
"r": 142,
"g": 77,
"b": 211
},
"hsl": {
"h": 269.104,
"s": 60.36,
"l": 56.471
},
"oklch": {
"l": 0.563,
"c": 0.19883,
"h": 302.8
},
"luminance": 0.15762
}Semantic roles & 50–950 ramp
primary
#8E4DD3
secondary
#BFD9A2
accent
#E44496
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83