#8E30AA#8E30AA
#8E30AA is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.195 H 317.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8E30AA |
|---|---|
| RGB | rgb(142, 48, 170) |
| HSL | hsl(286, 56%, 43%) |
| HSV | hsv(286, 72%, 67%) |
| CMYK | cmyk(16.5%, 71.8%, 0%, 33.3%) |
| CIE-LAB | lab(39.19, 56.86, -46.98) |
| CIE-LCH | lch(39.19, 73.75, 320.43°) |
| OKLab | oklab(50.08% 0.1431 -0.132) |
| OKLCH | oklch(50.08% 0.195 317.3) |
| XYZ | xyz(19.4669, 10.7678, 39.0754) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.88
Purple (survey)
#7E1E9C
ΔE00 4.78
Barney
#AC1DB8
ΔE00 5.21
Darkorchid
#9932CC
ΔE00 5.39
Warm Purple
#952E8F
ΔE00 5.76
Barney Purple
#A00498
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E30AA #4CAA30
analogous
#5130AA #8E30AA #AA3089
triadic
#8E30AA #AA8E30 #30AA8E
tetradic
#8E30AA #AA5130 #4CAA30 #3089AA
square
#8E30AA #AA5130 #4CAA30 #3089AA
split-complementary
#8E30AA #89AA30 #30AA51
monochromatic
#3E154B #66237A #8E30AA #AF4BCC #C47BDA
Accessibility & contrast
On white
6.66
#8E30AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#8E30AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E30AA
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E30AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E30AA | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#335FA7
Tritanopia (blue-blind)
#8D486A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8e30aa; /* rgb */ color: rgb(142, 48, 170); /* oklch */ color: oklch(50.1% 0.195 317.3);
Tailwind
colors: {
custom: {
50: '#b371c4',
500: '#8e30aa',
950: '#000000',
},
}SCSS
$custom: #8e30aa; $custom-light: #b371c4; $custom-dark: #000000;
JSON
{
"hex": "#8e30aa",
"rgb": {
"r": 142,
"g": 48,
"b": 170
},
"hsl": {
"h": 286.23,
"s": 55.963,
"l": 42.745
},
"oklch": {
"l": 0.50076,
"c": 0.19471,
"h": 317.3
},
"luminance": 0.10767
}Semantic roles & 50–950 ramp
primary
#8E30AA
secondary
#86C274
accent
#DF496B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82