#8E4BB2#8E4BB2
#8E4BB2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.165 H 312.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4BB2 |
|---|---|
| RGB | rgb(142, 75, 178) |
| HSL | hsl(279, 41%, 50%) |
| HSV | hsv(279, 58%, 70%) |
| CMYK | cmyk(20.2%, 57.9%, 0%, 30.2%) |
| CIE-LAB | lab(44.23, 46.01, -43.65) |
| CIE-LCH | lch(44.23, 63.42, 316.51°) |
| OKLab | oklab(53.88% 0.1109 -0.1224) |
| OKLCH | oklch(53.88% 0.165 312.2) |
| XYZ | xyz(21.7059, 13.9978, 43.6693) |
| Luminance | 0.1400 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.96
Royal Purple
#7851A9
ΔE00 4.81
Deep Lavender
#8D5EB7
ΔE00 5.23
Medium Purple
#9E43A2
ΔE00 5.31
Darkorchid
#9932CC
ΔE00 5.75
Amethyst
#9B5FC0
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4BB2 #6FB24B
analogous
#5B4BB2 #8E4BB2 #B24BA3
triadic
#8E4BB2 #B28E4B #4BB28E
tetradic
#8E4BB2 #B25B4B #6FB24B #4BA3B2
square
#8E4BB2 #B25B4B #6FB24B #4BA3B2
split-complementary
#8E4BB2 #A3B24B #4BB25B
monochromatic
#49275C #6C3987 #8E4BB2 #A975C5 #C4A0D7
Accessibility & contrast
On white
5.53
#8E4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#8E4BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4BB2
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4BB2 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B65B5
Deuteranopia (green-blind)
#446AAF
Tritanopia (blue-blind)
#8A5D77
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8e4bb2; /* rgb */ color: rgb(142, 75, 178); /* oklch */ color: oklch(53.9% 0.165 312.2);
Tailwind
colors: {
custom: {
50: '#b280c9',
500: '#8e4bb2',
950: '#000000',
},
}SCSS
$custom: #8e4bb2; $custom-light: #b280c9; $custom-dark: #000000;
JSON
{
"hex": "#8e4bb2",
"rgb": {
"r": 142,
"g": 75,
"b": 178
},
"hsl": {
"h": 279.029,
"s": 40.711,
"l": 49.608
},
"oklch": {
"l": 0.53877,
"c": 0.16516,
"h": 312.2
},
"luminance": 0.13997
}Semantic roles & 50–950 ramp
primary
#8E4BB2
secondary
#A5C495
accent
#D15782
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82