#8E45BF#8E45BF
#8E45BF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.188 H 309.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8E45BF |
|---|---|
| RGB | rgb(142, 69, 191) |
| HSL | hsl(276, 49%, 51%) |
| HSV | hsv(276, 64%, 75%) |
| CMYK | cmyk(25.7%, 63.9%, 0%, 25.1%) |
| CIE-LAB | lab(43.90, 51.96, -51.78) |
| CIE-LCH | lch(43.90, 73.36, 315.10°) |
| OKLab | oklab(53.89% 0.1182 -0.1462) |
| OKLCH | oklch(53.89% 0.188 309) |
| XYZ | xyz(22.6855, 13.7690, 50.7427) |
| Luminance | 0.1377 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.49
Darkorchid
#9932CC
ΔE00 3.55
Royal Purple
#7851A9
ΔE00 5.83
Blueviolet
#8A2BE2
ΔE00 6.36
Deep Lavender
#8D5EB7
ΔE00 6.67
Barney
#AC1DB8
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E45BF #76BF45
analogous
#5145BF #8E45BF #BF45B3
triadic
#8E45BF #BF8E45 #45BF8E
tetradic
#8E45BF #BF5145 #76BF45 #45B3BF
square
#8E45BF #BF5145 #76BF45 #45B3BF
split-complementary
#8E45BF #B3BF45 #45BF51
monochromatic
#4B2366 #6D3394 #8E45BF #AA73CF #C5A0DE
Accessibility & contrast
On white
5.59
#8E45BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#8E45BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E45BF
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E45BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E45BF | 1.00 | 5.59 | 3.75 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#3269BC
Tritanopia (blue-blind)
#875E7C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8e45bf; /* rgb */ color: rgb(142, 69, 191); /* oklch */ color: oklch(53.9% 0.188 309.0);
Tailwind
colors: {
custom: {
50: '#b37dd3',
500: '#8e45bf',
950: '#000000',
},
}SCSS
$custom: #8e45bf; $custom-light: #b37dd3; $custom-dark: #000000;
JSON
{
"hex": "#8e45bf",
"rgb": {
"r": 142,
"g": 69,
"b": 191
},
"hsl": {
"h": 275.902,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.5389,
"c": 0.18805,
"h": 309
},
"luminance": 0.13769
}Semantic roles & 50–950 ramp
primary
#8E45BF
secondary
#ABCB95
accent
#D84F86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83