#8E47E0#8E47E0
#8E47E0 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.5% C 0.221 H 300.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8E47E0 |
|---|---|
| RGB | rgb(142, 71, 224) |
| HSL | hsl(268, 71%, 58%) |
| HSV | hsv(268, 68%, 88%) |
| CMYK | cmyk(36.6%, 68.3%, 0%, 12.2%) |
| CIE-LAB | lab(46.50, 58.73, -66.58) |
| CIE-LCH | lch(46.50, 88.78, 311.42°) |
| OKLab | oklab(56.47% 0.1127 -0.1897) |
| OKLCH | oklch(56.47% 0.221 300.7) |
| XYZ | xyz(26.8598, 15.6389, 72.1101) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.64
Blueviolet
#8A2BE2
ΔE00 4.88
Darkorchid
#9932CC
ΔE00 5.25
Lightish Purple
#A552E6
ΔE00 5.47
Electric Purple
#AA23FF
ΔE00 5.74
Bluish Purple
#703BE7
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E47E0 #99E047
analogous
#474CE0 #8E47E0 #DA47E0
triadic
#8E47E0 #E08E47 #47E08E
tetradic
#8E47E0 #E0474C #99E047 #47E0DA
square
#8E47E0 #E0474C #99E047 #47E0DA
split-complementary
#8E47E0 #E0DA47 #4CE047
monochromatic
#521994 #6F22C8 #8E47E0 #AE7BE9 #CEB0F2
Accessibility & contrast
On white
5.09
#8E47E0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#8E47E0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E47E0
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E47E0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E47E0 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE5
Deuteranopia (green-blind)
#006DDD
Tritanopia (blue-blind)
#7C6B8E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8e47e0; /* rgb */ color: rgb(142, 71, 224); /* oklch */ color: oklch(56.5% 0.221 300.7);
Tailwind
colors: {
custom: {
50: '#b57feb',
500: '#8e47e0',
950: '#000000',
},
}SCSS
$custom: #8e47e0; $custom-light: #b57feb; $custom-dark: #000000;
JSON
{
"hex": "#8e47e0",
"rgb": {
"r": 142,
"g": 71,
"b": 224
},
"hsl": {
"h": 267.843,
"s": 71.163,
"l": 57.843
},
"oklch": {
"l": 0.56468,
"c": 0.22065,
"h": 300.7
},
"luminance": 0.15639
}Semantic roles & 50–950 ramp
primary
#8E47E0
secondary
#C4E0A3
accent
#EE3A9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84