#8E49D2#8E49D2
#8E49D2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.203 H 303.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8E49D2 |
|---|---|
| RGB | rgb(142, 73, 210) |
| HSL | hsl(270, 60%, 55%) |
| HSV | hsv(270, 65%, 82%) |
| CMYK | cmyk(32.4%, 65.2%, 0%, 17.6%) |
| CIE-LAB | lab(45.86, 54.42, -59.61) |
| CIE-LCH | lch(45.86, 80.71, 312.39°) |
| OKLab | oklab(55.71% 0.1123 -0.1692) |
| OKLCH | oklch(55.71% 0.203 303.6) |
| XYZ | xyz(25.1681, 15.1691, 62.5623) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.42
Purpley
#8756E4
ΔE00 4.52
Blueviolet
#8A2BE2
ΔE00 5.42
Lightish Purple
#A552E6
ΔE00 5.85
Purply
#983FB2
ΔE00 6.35
Violet (survey)
#9A0EEA
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E49D2 #8DD249
analogous
#4949D2 #8E49D2 #D249D1
triadic
#8E49D2 #D28E49 #49D28E
tetradic
#8E49D2 #D24949 #8DD249 #49D1D2
square
#8E49D2 #D24949 #8DD249 #49D1D2
split-complementary
#8E49D2 #D1D249 #49D249
monochromatic
#512081 #6F2CB2 #8E49D2 #AC7ADE #CBABEA
Accessibility & contrast
On white
5.21
#8E49D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#8E49D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E49D2
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E49D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E49D2 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#196CCF
Tritanopia (blue-blind)
#816787
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8e49d2; /* rgb */ color: rgb(142, 73, 210); /* oklch */ color: oklch(55.7% 0.203 303.6);
Tailwind
colors: {
custom: {
50: '#b480e1',
500: '#8e49d2',
950: '#000000',
},
}SCSS
$custom: #8e49d2; $custom-light: #b480e1; $custom-dark: #000000;
JSON
{
"hex": "#8e49d2",
"rgb": {
"r": 142,
"g": 73,
"b": 210
},
"hsl": {
"h": 270.219,
"s": 60.352,
"l": 55.49
},
"oklch": {
"l": 0.55705,
"c": 0.20308,
"h": 303.6
},
"luminance": 0.15169
}Semantic roles & 50–950 ramp
primary
#8E49D2
secondary
#BBD89F
accent
#E34493
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83