#8E4BC2#8E4BC2
#8E4BC2 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.183 H 307.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4BC2 |
|---|---|
| RGB | rgb(142, 75, 194) |
| HSL | hsl(274, 49%, 53%) |
| HSV | hsv(274, 61%, 76%) |
| CMYK | cmyk(26.8%, 61.3%, 0%, 23.9%) |
| CIE-LAB | lab(45.19, 49.65, -51.46) |
| CIE-LCH | lch(45.19, 71.51, 313.98°) |
| OKLab | oklab(54.89% 0.1109 -0.1453) |
| OKLCH | oklch(54.89% 0.183 307.4) |
| XYZ | xyz(23.4070, 14.6783, 52.6286) |
| Luminance | 0.1468 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.42
Darkorchid
#9932CC
ΔE00 4.54
Deep Lavender
#8D5EB7
ΔE00 5.49
Royal Purple
#7851A9
ΔE00 5.61
Amethyst
#9B5FC0
ΔE00 6.33
Purpley
#8756E4
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4BC2 #7FC24B
analogous
#534BC2 #8E4BC2 #C24BBA
triadic
#8E4BC2 #C28E4B #4BC28E
tetradic
#8E4BC2 #C2534B #7FC24B #4BBAC2
square
#8E4BC2 #C2534B #7FC24B #4BBAC2
split-complementary
#8E4BC2 #BAC24B #4BC253
monochromatic
#4E256D #6E359B #8E4BC2 #AB79D1 #C7A6E1
Accessibility & contrast
On white
5.34
#8E4BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#8E4BC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4BC2
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4BC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4BC2 | 1.00 | 5.34 | 3.94 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F68C6
Deuteranopia (green-blind)
#366CBF
Tritanopia (blue-blind)
#86637F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8e4bc2; /* rgb */ color: rgb(142, 75, 194); /* oklch */ color: oklch(54.9% 0.183 307.4);
Tailwind
colors: {
custom: {
50: '#b381d5',
500: '#8e4bc2',
950: '#000000',
},
}SCSS
$custom: #8e4bc2; $custom-light: #b381d5; $custom-dark: #000000;
JSON
{
"hex": "#8e4bc2",
"rgb": {
"r": 142,
"g": 75,
"b": 194
},
"hsl": {
"h": 273.782,
"s": 49.378,
"l": 52.745
},
"oklch": {
"l": 0.54886,
"c": 0.18279,
"h": 307.4
},
"luminance": 0.14678
}Semantic roles & 50–950 ramp
primary
#8E4BC2
secondary
#B1CE9B
accent
#D94F8B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83