#8E4BBB#8E4BBB
#8E4BBB is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.175 H 309.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4BBB |
|---|---|
| RGB | rgb(142, 75, 187) |
| HSL | hsl(276, 45%, 51%) |
| HSV | hsv(276, 60%, 73%) |
| CMYK | cmyk(24.1%, 59.9%, 0%, 26.7%) |
| CIE-LAB | lab(44.76, 48.04, -48.07) |
| CIE-LCH | lch(44.76, 67.96, 314.98°) |
| OKLab | oklab(54.44% 0.111 -0.1354) |
| OKLCH | oklch(54.44% 0.175 309.4) |
| XYZ | xyz(22.6393, 14.3712, 48.5854) |
| Luminance | 0.1437 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.61
Darkorchid
#9932CC
ΔE00 4.90
Royal Purple
#7851A9
ΔE00 5.09
Deep Lavender
#8D5EB7
ΔE00 5.22
Amethyst
#9B5FC0
ΔE00 6.24
Medium Purple
#9E43A2
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4BBB #78BB4B
analogous
#564BBB #8E4BBB #BB4BB0
triadic
#8E4BBB #BB8E4B #4BBB8E
tetradic
#8E4BBB #BB564B #78BB4B #4BB0BB
square
#8E4BBB #BB564B #78BB4B #4BB0BB
split-complementary
#8E4BBB #B0BB4B #4BBB56
monochromatic
#4C2665 #6D3792 #8E4BBB #AA77CC #C6A4DD
Accessibility & contrast
On white
5.42
#8E4BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#8E4BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4BBB
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4BBB | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F67BF
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#88607C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8e4bbb; /* rgb */ color: rgb(142, 75, 187); /* oklch */ color: oklch(54.4% 0.175 309.4);
Tailwind
colors: {
custom: {
50: '#b281d0',
500: '#8e4bbb',
950: '#000000',
},
}SCSS
$custom: #8e4bbb; $custom-light: #b281d0; $custom-dark: #000000;
JSON
{
"hex": "#8e4bbb",
"rgb": {
"r": 142,
"g": 75,
"b": 187
},
"hsl": {
"h": 275.893,
"s": 45.161,
"l": 51.373
},
"oklch": {
"l": 0.54435,
"c": 0.17507,
"h": 309.4
},
"luminance": 0.14371
}Semantic roles & 50–950 ramp
primary
#8E4BBB
secondary
#ACCA98
accent
#D55387
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82