#8E4ABA#8E4ABA
#8E4ABA is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.175 H 309.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4ABA |
|---|---|
| RGB | rgb(142, 74, 186) |
| HSL | hsl(276, 45%, 51%) |
| HSV | hsv(276, 60%, 73%) |
| CMYK | cmyk(23.7%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(44.51, 48.33, -47.89) |
| CIE-LCH | lch(44.51, 68.04, 315.26°) |
| OKLab | oklab(54.23% 0.1123 -0.1348) |
| OKLCH | oklch(54.23% 0.175 309.8) |
| XYZ | xyz(22.4653, 14.1939, 48.0011) |
| Luminance | 0.1419 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.37
Darkorchid
#9932CC
ΔE00 4.78
Royal Purple
#7851A9
ΔE00 5.10
Deep Lavender
#8D5EB7
ΔE00 5.43
Medium Purple
#9E43A2
ΔE00 6.41
Amethyst
#9B5FC0
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4ABA #76BA4A
analogous
#564ABA #8E4ABA #BA4AAE
triadic
#8E4ABA #BA8E4A #4ABA8E
tetradic
#8E4ABA #BA564A #76BA4A #4AAEBA
square
#8E4ABA #BA564A #76BA4A #4AAEBA
split-complementary
#8E4ABA #AEBA4A #4ABA56
monochromatic
#4B2664 #6D3790 #8E4ABA #AA76CB #C5A3DC
Accessibility & contrast
On white
5.47
#8E4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#8E4ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4ABA
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4ABA | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E66BE
Deuteranopia (green-blind)
#3D6AB7
Tritanopia (blue-blind)
#885F7B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8e4aba; /* rgb */ color: rgb(142, 74, 186); /* oklch */ color: oklch(54.2% 0.175 309.8);
Tailwind
colors: {
custom: {
50: '#b280cf',
500: '#8e4aba',
950: '#000000',
},
}SCSS
$custom: #8e4aba; $custom-light: #b280cf; $custom-dark: #000000;
JSON
{
"hex": "#8e4aba",
"rgb": {
"r": 142,
"g": 74,
"b": 186
},
"hsl": {
"h": 276.429,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.54233,
"c": 0.17546,
"h": 309.8
},
"luminance": 0.14194
}Semantic roles & 50–950 ramp
primary
#8E4ABA
secondary
#ABC997
accent
#D55386
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82