#8E4BB5#8E4BB5
#8E4BB5 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.168 H 311.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4BB5 |
|---|---|
| RGB | rgb(142, 75, 181) |
| HSL | hsl(278, 42%, 50%) |
| HSV | hsv(278, 59%, 71%) |
| CMYK | cmyk(21.5%, 58.6%, 0%, 29%) |
| CIE-LAB | lab(44.40, 46.68, -45.13) |
| CIE-LCH | lch(44.40, 64.93, 315.97°) |
| OKLab | oklab(54.06% 0.111 -0.1268) |
| OKLCH | oklch(54.06% 0.168 311.2) |
| XYZ | xyz(22.0104, 14.1196, 45.2730) |
| Luminance | 0.1412 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.11
Royal Purple
#7851A9
ΔE00 4.84
Deep Lavender
#8D5EB7
ΔE00 5.17
Darkorchid
#9932CC
ΔE00 5.42
Medium Purple
#9E43A2
ΔE00 5.73
Amethyst
#9B5FC0
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4BB5 #72B54B
analogous
#594BB5 #8E4BB5 #B54BA7
triadic
#8E4BB5 #B58E4B #4BB58E
tetradic
#8E4BB5 #B5594B #72B54B #4BA7B5
square
#8E4BB5 #B5594B #72B54B #4BA7B5
split-complementary
#8E4BB5 #A7B54B #4BB559
monochromatic
#4A275F #6C398A #8E4BB5 #A976C7 #C4A2D9
Accessibility & contrast
On white
5.49
#8E4BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#8E4BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4BB5
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4BB5 | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2766B8
Deuteranopia (green-blind)
#426AB2
Tritanopia (blue-blind)
#895E79
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8e4bb5; /* rgb */ color: rgb(142, 75, 181); /* oklch */ color: oklch(54.1% 0.168 311.2);
Tailwind
colors: {
custom: {
50: '#b280cc',
500: '#8e4bb5',
950: '#000000',
},
}SCSS
$custom: #8e4bb5; $custom-light: #b280cc; $custom-dark: #000000;
JSON
{
"hex": "#8e4bb5",
"rgb": {
"r": 142,
"g": 75,
"b": 181
},
"hsl": {
"h": 277.925,
"s": 41.732,
"l": 50.196
},
"oklch": {
"l": 0.5406,
"c": 0.16846,
"h": 311.2
},
"luminance": 0.14119
}Semantic roles & 50–950 ramp
primary
#8E4BB5
secondary
#A8C696
accent
#D25684
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82