#8E45E0#8E45E0
#8E45E0 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.223 H 300.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8E45E0 |
|---|---|
| RGB | rgb(142, 69, 224) |
| HSL | hsl(268, 71%, 57%) |
| HSV | hsv(268, 69%, 88%) |
| CMYK | cmyk(36.6%, 69.2%, 0%, 12.2%) |
| CIE-LAB | lab(46.16, 59.66, -67.12) |
| CIE-LCH | lch(46.16, 89.81, 311.63°) |
| OKLab | oklab(56.23% 0.1147 -0.1913) |
| OKLCH | oklch(56.23% 0.223 300.9) |
| XYZ | xyz(26.7347, 15.3887, 72.0684) |
| Luminance | 0.1539 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.01
Blueviolet
#8A2BE2
ΔE00 4.47
Darkorchid
#9932CC
ΔE00 4.97
Bluish Purple
#703BE7
ΔE00 5.61
Electric Purple
#AA23FF
ΔE00 5.62
Violet (survey)
#9A0EEA
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E45E0 #97E045
analogous
#4549E0 #8E45E0 #DC45E0
triadic
#8E45E0 #E08E45 #45E08E
tetradic
#8E45E0 #E04549 #97E045 #45E0DC
square
#8E45E0 #E04549 #97E045 #45E0DC
split-complementary
#8E45E0 #E0DC45 #49E045
monochromatic
#521892 #6F21C7 #8E45E0 #AE79E9 #CEAEF1
Accessibility & contrast
On white
5.15
#8E45E0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#8E45E0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E45E0
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E45E0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E45E0 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE5
Deuteranopia (green-blind)
#006CDD
Tritanopia (blue-blind)
#7C6A8E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8e45e0; /* rgb */ color: rgb(142, 69, 224); /* oklch */ color: oklch(56.2% 0.223 300.9);
Tailwind
colors: {
custom: {
50: '#b57eeb',
500: '#8e45e0',
950: '#000000',
},
}SCSS
$custom: #8e45e0; $custom-light: #b57eeb; $custom-dark: #000000;
JSON
{
"hex": "#8e45e0",
"rgb": {
"r": 142,
"g": 69,
"b": 224
},
"hsl": {
"h": 268.258,
"s": 71.429,
"l": 57.451
},
"oklch": {
"l": 0.56229,
"c": 0.22304,
"h": 300.9
},
"luminance": 0.15389
}Semantic roles & 50–950 ramp
primary
#8E45E0
secondary
#C2E0A1
accent
#EE3A99
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84