#8E46D2#8E46D2
#8E46D2 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.207 H 303.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8E46D2 |
|---|---|
| RGB | rgb(142, 70, 210) |
| HSL | hsl(271, 61%, 55%) |
| HSV | hsv(271, 67%, 82%) |
| CMYK | cmyk(32.4%, 66.7%, 0%, 17.6%) |
| CIE-LAB | lab(45.34, 55.87, -60.46) |
| CIE-LCH | lch(45.34, 82.32, 312.74°) |
| OKLab | oklab(55.33% 0.1156 -0.1717) |
| OKLCH | oklch(55.33% 0.207 303.9) |
| XYZ | xyz(24.9757, 14.7843, 62.4982) |
| Luminance | 0.1478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.88
Blueviolet
#8A2BE2
ΔE00 4.84
Purpley
#8756E4
ΔE00 5.00
Violet (survey)
#9A0EEA
ΔE00 6.14
Purply
#983FB2
ΔE00 6.15
Lightish Purple
#A552E6
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E46D2 #8AD246
analogous
#4846D2 #8E46D2 #D246D0
triadic
#8E46D2 #D28E46 #46D28E
tetradic
#8E46D2 #D24846 #8AD246 #46D0D2
square
#8E46D2 #D24846 #8AD246 #46D0D2
split-complementary
#8E46D2 #D0D246 #46D248
monochromatic
#501F7F #6F2BB0 #8E46D2 #AC77DE #CAA8EA
Accessibility & contrast
On white
5.31
#8E46D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#8E46D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E46D2
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E46D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E46D2 | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#106BCF
Tritanopia (blue-blind)
#816586
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8e46d2; /* rgb */ color: rgb(142, 70, 210); /* oklch */ color: oklch(55.3% 0.207 303.9);
Tailwind
colors: {
custom: {
50: '#b47ee1',
500: '#8e46d2',
950: '#000000',
},
}SCSS
$custom: #8e46d2; $custom-light: #b47ee1; $custom-dark: #000000;
JSON
{
"hex": "#8e46d2",
"rgb": {
"r": 142,
"g": 70,
"b": 210
},
"hsl": {
"h": 270.857,
"s": 60.87,
"l": 54.902
},
"oklch": {
"l": 0.55326,
"c": 0.20697,
"h": 303.9
},
"luminance": 0.14784
}Semantic roles & 50–950 ramp
primary
#8E46D2
secondary
#B9D79C
accent
#E44492
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83