#8E3ABC#8E3ABC
#8E3ABC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.4% C 0.200 H 311.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8E3ABC |
|---|---|
| RGB | rgb(142, 58, 188) |
| HSL | hsl(279, 53%, 48%) |
| HSV | hsv(279, 69%, 74%) |
| CMYK | cmyk(24.5%, 69.1%, 0%, 26.3%) |
| CIE-LAB | lab(41.86, 56.41, -53.32) |
| CIE-LCH | lch(41.86, 77.62, 316.61°) |
| OKLab | oklab(52.36% 0.1309 -0.1507) |
| OKLCH | oklch(52.36% 0.2 311) |
| XYZ | xyz(21.7438, 12.4082, 48.8168) |
| Luminance | 0.1241 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.72
Purply
#983FB2
ΔE00 3.32
Darkviolet
#9400D3
ΔE00 5.53
Blueviolet
#8A2BE2
ΔE00 5.73
Barney
#AC1DB8
ΔE00 5.84
Vibrant Purple
#AD03DE
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E3ABC #68BC3A
analogous
#4D3ABC #8E3ABC #BC3AA9
triadic
#8E3ABC #BC8E3A #3ABC8E
tetradic
#8E3ABC #BC4D3A #68BC3A #3AA9BC
square
#8E3ABC #BC4D3A #68BC3A #3AA9BC
split-complementary
#8E3ABC #A9BC3A #3ABC4D
monochromatic
#471D5E #6B2C8D #8E3ABC #A964CF #C393DE
Accessibility & contrast
On white
6.03
#8E3ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#8E3ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E3ABC
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E3ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E3ABC | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#2864B9
Tritanopia (blue-blind)
#885677
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8e3abc; /* rgb */ color: rgb(142, 58, 188); /* oklch */ color: oklch(52.4% 0.200 311.0);
Tailwind
colors: {
custom: {
50: '#b377d1',
500: '#8e3abc',
950: '#000000',
},
}SCSS
$custom: #8e3abc; $custom-light: #b377d1; $custom-dark: #000000;
JSON
{
"hex": "#8e3abc",
"rgb": {
"r": 142,
"g": 58,
"b": 188
},
"hsl": {
"h": 278.769,
"s": 52.846,
"l": 48.235
},
"oklch": {
"l": 0.5236,
"c": 0.19958,
"h": 311
},
"luminance": 0.12408
}Semantic roles & 50–950 ramp
primary
#8E3ABC
secondary
#A0C989
accent
#DC4C7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82