#8E4BCC#8E4BCC
#8E4BCC is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.6% C 0.194 H 304.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4BCC |
|---|---|
| RGB | rgb(142, 75, 204) |
| HSL | hsl(271, 56%, 55%) |
| HSV | hsv(271, 63%, 80%) |
| CMYK | cmyk(30.4%, 63.2%, 0%, 20%) |
| CIE-LAB | lab(45.83, 52.00, -56.21) |
| CIE-LCH | lch(45.83, 76.58, 312.77°) |
| OKLab | oklab(55.55% 0.1105 -0.1593) |
| OKLCH | oklch(55.55% 0.194 304.7) |
| XYZ | xyz(24.5681, 15.1427, 58.7436) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.55
Purpley
#8756E4
ΔE00 4.98
Purply
#983FB2
ΔE00 5.72
Lightish Purple
#A552E6
ΔE00 6.06
Blueviolet
#8A2BE2
ΔE00 6.13
Deep Lavender
#8D5EB7
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4BCC #89CC4B
analogous
#4E4BCC #8E4BCC #CC4BC9
triadic
#8E4BCC #CC8E4B #4BCC8E
tetradic
#8E4BCC #CC4E4B #89CC4B #4BC9CC
square
#8E4BCC #CC4E4B #89CC4B #4BC9CC
split-complementary
#8E4BCC #C9CC4B #4BCC4E
monochromatic
#50237A #6F30AA #8E4BCC #AC7BDA #CAAAE7
Accessibility & contrast
On white
5.21
#8E4BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#8E4BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4BCC
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4BCC | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#296DC9
Tritanopia (blue-blind)
#836685
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8e4bcc; /* rgb */ color: rgb(142, 75, 204); /* oklch */ color: oklch(55.6% 0.194 304.7);
Tailwind
colors: {
custom: {
50: '#b381dc',
500: '#8e4bcc',
950: '#000000',
},
}SCSS
$custom: #8e4bcc; $custom-light: #b381dc; $custom-dark: #000000;
JSON
{
"hex": "#8e4bcc",
"rgb": {
"r": 142,
"g": 75,
"b": 204
},
"hsl": {
"h": 271.163,
"s": 55.844,
"l": 54.706
},
"oklch": {
"l": 0.55553,
"c": 0.19382,
"h": 304.7
},
"luminance": 0.15143
}Semantic roles & 50–950 ramp
primary
#8E4BCC
secondary
#B8D59E
accent
#DF4991
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83