#8E45D3#8E45D3
#8E45D3 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.3% C 0.209 H 303.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8E45D3 |
|---|---|
| RGB | rgb(142, 69, 211) |
| HSL | hsl(271, 62%, 55%) |
| HSV | hsv(271, 67%, 83%) |
| CMYK | cmyk(32.7%, 67.3%, 0%, 17.3%) |
| CIE-LAB | lab(45.23, 56.58, -61.20) |
| CIE-LCH | lch(45.23, 83.35, 312.75°) |
| OKLab | oklab(55.28% 0.1165 -0.1739) |
| OKLCH | oklch(55.28% 0.209 303.8) |
| XYZ | xyz(25.0386, 14.7102, 63.1356) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.78
Blueviolet
#8A2BE2
ΔE00 4.62
Purpley
#8756E4
ΔE00 5.07
Violet (survey)
#9A0EEA
ΔE00 5.92
Purply
#983FB2
ΔE00 6.23
Bluish Purple
#703BE7
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E45D3 #8AD345
analogous
#4745D3 #8E45D3 #D345D1
triadic
#8E45D3 #D38E45 #45D38E
tetradic
#8E45D3 #D34745 #8AD345 #45D1D3
square
#8E45D3 #D34745 #8AD345 #45D1D3
split-complementary
#8E45D3 #D1D345 #45D347
monochromatic
#501E7F #6F2AB1 #8E45D3 #AC76DF #CAA8EA
Accessibility & contrast
On white
5.33
#8E45D3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#8E45D3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E45D3
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E45D3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E45D3 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#076BD0
Tritanopia (blue-blind)
#816587
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8e45d3; /* rgb */ color: rgb(142, 69, 211); /* oklch */ color: oklch(55.3% 0.209 303.8);
Tailwind
colors: {
custom: {
50: '#b47ee1',
500: '#8e45d3',
950: '#000000',
},
}SCSS
$custom: #8e45d3; $custom-light: #b47ee1; $custom-dark: #000000;
JSON
{
"hex": "#8e45d3",
"rgb": {
"r": 142,
"g": 69,
"b": 211
},
"hsl": {
"h": 270.845,
"s": 61.739,
"l": 54.902
},
"oklch": {
"l": 0.55275,
"c": 0.20931,
"h": 303.8
},
"luminance": 0.1471
}Semantic roles & 50–950 ramp
primary
#8E45D3
secondary
#B9D89C
accent
#E54392
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83