#8E4BC1#8E4BC1
#8E4BC1 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.182 H 307.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4BC1 |
|---|---|
| RGB | rgb(142, 75, 193) |
| HSL | hsl(274, 49%, 53%) |
| HSV | hsv(274, 61%, 76%) |
| CMYK | cmyk(26.4%, 61.1%, 0%, 24.3%) |
| CIE-LAB | lab(45.13, 49.42, -50.98) |
| CIE-LCH | lch(45.13, 71.00, 314.11°) |
| OKLab | oklab(54.82% 0.1109 -0.1439) |
| OKLCH | oklch(54.82% 0.182 307.6) |
| XYZ | xyz(23.2951, 14.6335, 52.0391) |
| Luminance | 0.1463 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.29
Darkorchid
#9932CC
ΔE00 4.57
Deep Lavender
#8D5EB7
ΔE00 5.44
Royal Purple
#7851A9
ΔE00 5.52
Amethyst
#9B5FC0
ΔE00 6.31
Purpley
#8756E4
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4BC1 #7EC14B
analogous
#534BC1 #8E4BC1 #C14BB9
triadic
#8E4BC1 #C18E4B #4BC18E
tetradic
#8E4BC1 #C1534B #7EC14B #4BB9C1
square
#8E4BC1 #C1534B #7EC14B #4BB9C1
split-complementary
#8E4BC1 #B9C14B #4BC153
monochromatic
#4E256C #6E359A #8E4BC1 #AB79D1 #C7A6E0
Accessibility & contrast
On white
5.35
#8E4BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#8E4BC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4BC1
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4BC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4BC1 | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1268C5
Deuteranopia (green-blind)
#376BBE
Tritanopia (blue-blind)
#86627F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8e4bc1; /* rgb */ color: rgb(142, 75, 193); /* oklch */ color: oklch(54.8% 0.182 307.6);
Tailwind
colors: {
custom: {
50: '#b381d4',
500: '#8e4bc1',
950: '#000000',
},
}SCSS
$custom: #8e4bc1; $custom-light: #b381d4; $custom-dark: #000000;
JSON
{
"hex": "#8e4bc1",
"rgb": {
"r": 142,
"g": 75,
"b": 193
},
"hsl": {
"h": 274.068,
"s": 48.76,
"l": 52.549
},
"oklch": {
"l": 0.5482,
"c": 0.18168,
"h": 307.6
},
"luminance": 0.14633
}Semantic roles & 50–950 ramp
primary
#8E4BC1
secondary
#B0CE9A
accent
#D84F8B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83