#8E4DCC#8E4DCC
#8E4DCC is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.191 H 304.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4DCC |
|---|---|
| RGB | rgb(142, 77, 204) |
| HSL | hsl(271, 55%, 55%) |
| HSV | hsv(271, 62%, 80%) |
| CMYK | cmyk(30.4%, 62.3%, 0%, 20%) |
| CIE-LAB | lab(46.20, 50.99, -55.61) |
| CIE-LCH | lch(46.20, 75.45, 312.51°) |
| OKLab | oklab(55.82% 0.1081 -0.1575) |
| OKLCH | oklch(55.82% 0.191 304.5) |
| XYZ | xyz(24.7059, 15.4183, 58.7895) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.73
Darkorchid
#9932CC
ΔE00 4.97
Deep Lavender
#8D5EB7
ΔE00 5.83
Lightish Purple
#A552E6
ΔE00 5.83
Purply
#983FB2
ΔE00 5.93
Amethyst
#9B5FC0
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4DCC #8BCC4D
analogous
#4F4DCC #8E4DCC #CC4DCA
triadic
#8E4DCC #CC8E4D #4DCC8E
tetradic
#8E4DCC #CC4F4D #8BCC4D #4DCACC
square
#8E4DCC #CC4F4D #8BCC4D #4DCACC
split-complementary
#8E4DCC #CACC4D #4DCC4F
monochromatic
#50237B #6F31AB #8E4DCC #AC7DDA #CAACE7
Accessibility & contrast
On white
5.14
#8E4DCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#8E4DCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4DCC
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4DCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4DCC | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#2C6DC9
Tritanopia (blue-blind)
#836785
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8e4dcc; /* rgb */ color: rgb(142, 77, 204); /* oklch */ color: oklch(55.8% 0.191 304.5);
Tailwind
colors: {
custom: {
50: '#b382dc',
500: '#8e4dcc',
950: '#000000',
},
}SCSS
$custom: #8e4dcc; $custom-light: #b382dc; $custom-dark: #000000;
JSON
{
"hex": "#8e4dcc",
"rgb": {
"r": 142,
"g": 77,
"b": 204
},
"hsl": {
"h": 270.709,
"s": 55.459,
"l": 55.098
},
"oklch": {
"l": 0.55823,
"c": 0.19105,
"h": 304.5
},
"luminance": 0.15418
}Semantic roles & 50–950 ramp
primary
#8E4DCC
secondary
#BAD5A0
accent
#DF4992
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83