#8E4ABC#8E4ABC
#8E4ABC is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.178 H 309.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4ABC |
|---|---|
| RGB | rgb(142, 74, 188) |
| HSL | hsl(276, 46%, 51%) |
| HSV | hsv(276, 61%, 74%) |
| CMYK | cmyk(24.5%, 60.6%, 0%, 26.3%) |
| CIE-LAB | lab(44.63, 48.78, -48.86) |
| CIE-LCH | lch(44.63, 69.04, 314.95°) |
| OKLab | oklab(54.36% 0.1123 -0.1377) |
| OKLCH | oklch(54.36% 0.178 309.2) |
| XYZ | xyz(22.6794, 14.2796, 49.1287) |
| Luminance | 0.1428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.58
Darkorchid
#9932CC
ΔE00 4.63
Royal Purple
#7851A9
ΔE00 5.21
Deep Lavender
#8D5EB7
ΔE00 5.48
Amethyst
#9B5FC0
ΔE00 6.46
Medium Purple
#9E43A2
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4ABC #78BC4A
analogous
#554ABC #8E4ABC #BC4AB1
triadic
#8E4ABC #BC8E4A #4ABC8E
tetradic
#8E4ABC #BC554A #78BC4A #4AB1BC
square
#8E4ABC #BC554A #78BC4A #4AB1BC
split-complementary
#8E4ABC #B1BC4A #4ABC55
monochromatic
#4C2666 #6D3693 #8E4ABC #AA77CD #C6A3DD
Accessibility & contrast
On white
5.45
#8E4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#8E4ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4ABC
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4ABC | 1.00 | 5.45 | 3.86 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A67C0
Deuteranopia (green-blind)
#3B6BB9
Tritanopia (blue-blind)
#88607C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8e4abc; /* rgb */ color: rgb(142, 74, 188); /* oklch */ color: oklch(54.4% 0.178 309.2);
Tailwind
colors: {
custom: {
50: '#b280d1',
500: '#8e4abc',
950: '#000000',
},
}SCSS
$custom: #8e4abc; $custom-light: #b280d1; $custom-dark: #000000;
JSON
{
"hex": "#8e4abc",
"rgb": {
"r": 142,
"g": 74,
"b": 188
},
"hsl": {
"h": 275.789,
"s": 45.968,
"l": 51.373
},
"oklch": {
"l": 0.5436,
"c": 0.17765,
"h": 309.2
},
"luminance": 0.14279
}Semantic roles & 50–950 ramp
primary
#8E4ABC
secondary
#ACCA98
accent
#D65287
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82