#8E47D2#8E47D2
#8E47D2 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.206 H 303.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8E47D2 |
|---|---|
| RGB | rgb(142, 71, 210) |
| HSL | hsl(271, 61%, 55%) |
| HSV | hsv(271, 66%, 82%) |
| CMYK | cmyk(32.4%, 66.2%, 0%, 17.6%) |
| CIE-LAB | lab(45.51, 55.39, -60.18) |
| CIE-LCH | lch(45.51, 81.79, 312.63°) |
| OKLab | oklab(55.45% 0.1145 -0.1709) |
| OKLCH | oklch(55.45% 0.206 303.8) |
| XYZ | xyz(25.0388, 14.9105, 62.5192) |
| Luminance | 0.1491 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.05
Purpley
#8756E4
ΔE00 4.84
Blueviolet
#8A2BE2
ΔE00 5.03
Lightish Purple
#A552E6
ΔE00 6.13
Purply
#983FB2
ΔE00 6.21
Violet (survey)
#9A0EEA
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E47D2 #8BD247
analogous
#4847D2 #8E47D2 #D247D1
triadic
#8E47D2 #D28E47 #47D28E
tetradic
#8E47D2 #D24847 #8BD247 #47D1D2
square
#8E47D2 #D24847 #8BD247 #47D1D2
split-complementary
#8E47D2 #D1D247 #47D248
monochromatic
#501F7F #6F2BB1 #8E47D2 #AC78DE #CAA9EA
Accessibility & contrast
On white
5.27
#8E47D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#8E47D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E47D2
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E47D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E47D2 | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#136CCF
Tritanopia (blue-blind)
#816687
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8e47d2; /* rgb */ color: rgb(142, 71, 210); /* oklch */ color: oklch(55.5% 0.206 303.8);
Tailwind
colors: {
custom: {
50: '#b47fe1',
500: '#8e47d2',
950: '#000000',
},
}SCSS
$custom: #8e47d2; $custom-light: #b47fe1; $custom-dark: #000000;
JSON
{
"hex": "#8e47d2",
"rgb": {
"r": 142,
"g": 71,
"b": 210
},
"hsl": {
"h": 270.647,
"s": 60.699,
"l": 55.098
},
"oklch": {
"l": 0.55451,
"c": 0.20569,
"h": 303.8
},
"luminance": 0.1491
}Semantic roles & 50–950 ramp
primary
#8E47D2
secondary
#BAD89D
accent
#E44492
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83