#8E4DD2#8E4DD2
#8E4DD2 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.2% C 0.198 H 303.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4DD2 |
|---|---|
| RGB | rgb(142, 77, 210) |
| HSL | hsl(269, 60%, 56%) |
| HSV | hsv(269, 63%, 82%) |
| CMYK | cmyk(32.4%, 63.3%, 0%, 17.6%) |
| CIE-LAB | lab(46.59, 52.42, -58.43) |
| CIE-LCH | lch(46.59, 78.50, 311.90°) |
| OKLab | oklab(56.23% 0.1078 -0.1658) |
| OKLCH | oklch(56.23% 0.198 303) |
| XYZ | xyz(25.4394, 15.7117, 62.6527) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.93
Darkorchid
#9932CC
ΔE00 5.22
Lightish Purple
#A552E6
ΔE00 5.36
Blueviolet
#8A2BE2
ΔE00 6.25
Deep Lavender
#8D5EB7
ΔE00 6.39
Purply
#983FB2
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4DD2 #91D24D
analogous
#4D4FD2 #8E4DD2 #D04DD2
triadic
#8E4DD2 #D28E4D #4DD28E
tetradic
#8E4DD2 #D24D4F #91D24D #4DD2D0
square
#8E4DD2 #D24D4F #91D24D #4DD2D0
split-complementary
#8E4DD2 #D2D04D #4FD24D
monochromatic
#512183 #6F2EB4 #8E4DD2 #AD7EDE #CCAFEB
Accessibility & contrast
On white
5.07
#8E4DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#8E4DD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4DD2
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4DD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4DD2 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#226ECF
Tritanopia (blue-blind)
#816A89
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8e4dd2; /* rgb */ color: rgb(142, 77, 210); /* oklch */ color: oklch(56.2% 0.198 303.0);
Tailwind
colors: {
custom: {
50: '#b482e1',
500: '#8e4dd2',
950: '#000000',
},
}SCSS
$custom: #8e4dd2; $custom-light: #b482e1; $custom-dark: #000000;
JSON
{
"hex": "#8e4dd2",
"rgb": {
"r": 142,
"g": 77,
"b": 210
},
"hsl": {
"h": 269.323,
"s": 59.641,
"l": 56.275
},
"oklch": {
"l": 0.56231,
"c": 0.19772,
"h": 303
},
"luminance": 0.15712
}Semantic roles & 50–950 ramp
primary
#8E4DD2
secondary
#BED9A2
accent
#E34596
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83