#8E4BCE#8E4BCE
#8E4BCE is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.7% C 0.196 H 304.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4BCE |
|---|---|
| RGB | rgb(142, 75, 206) |
| HSL | hsl(271, 57%, 55%) |
| HSV | hsv(271, 64%, 81%) |
| CMYK | cmyk(31.1%, 63.6%, 0%, 19.2%) |
| CIE-LAB | lab(45.96, 52.47, -57.15) |
| CIE-LCH | lch(45.96, 77.59, 312.56°) |
| OKLab | oklab(55.69% 0.1103 -0.162) |
| OKLCH | oklch(55.69% 0.196 304.3) |
| XYZ | xyz(24.8095, 15.2393, 60.0150) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.62
Purpley
#8756E4
ΔE00 4.71
Lightish Purple
#A552E6
ΔE00 5.89
Purply
#983FB2
ΔE00 5.98
Blueviolet
#8A2BE2
ΔE00 6.01
Deep Lavender
#8D5EB7
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4BCE #8BCE4B
analogous
#4D4BCE #8E4BCE #CE4BCC
triadic
#8E4BCE #CE8E4B #4BCE8E
tetradic
#8E4BCE #CE4D4B #8BCE4B #4BCCCE
square
#8E4BCE #CE4D4B #8BCE4B #4BCCCE
split-complementary
#8E4BCE #CCCE4B #4BCE4D
monochromatic
#50227D #6F2FAD #8E4BCE #AC7BDB #CAABE8
Accessibility & contrast
On white
5.19
#8E4BCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#8E4BCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4BCE
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4BCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4BCE | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#266DCB
Tritanopia (blue-blind)
#826786
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8e4bce; /* rgb */ color: rgb(142, 75, 206); /* oklch */ color: oklch(55.7% 0.196 304.3);
Tailwind
colors: {
custom: {
50: '#b381de',
500: '#8e4bce',
950: '#000000',
},
}SCSS
$custom: #8e4bce; $custom-light: #b381de; $custom-dark: #000000;
JSON
{
"hex": "#8e4bce",
"rgb": {
"r": 142,
"g": 75,
"b": 206
},
"hsl": {
"h": 270.687,
"s": 57.205,
"l": 55.098
},
"oklch": {
"l": 0.55689,
"c": 0.19602,
"h": 304.3
},
"luminance": 0.15239
}Semantic roles & 50–950 ramp
primary
#8E4BCE
secondary
#BAD69F
accent
#E04792
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83