#8E30AE#8E30AE
#8E30AE is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.198 H 316.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8E30AE |
|---|---|
| RGB | rgb(142, 48, 174) |
| HSL | hsl(285, 57%, 44%) |
| HSV | hsv(285, 72%, 68%) |
| CMYK | cmyk(18.4%, 72.4%, 0%, 31.8%) |
| CIE-LAB | lab(39.45, 57.66, -48.94) |
| CIE-LCH | lch(39.45, 75.63, 319.67°) |
| OKLab | oklab(50.35% 0.1427 -0.1377) |
| OKLCH | oklch(50.35% 0.198 316) |
| XYZ | xyz(19.8511, 10.9215, 41.0986) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.81
Darkorchid
#9932CC
ΔE00 4.79
Purple (survey)
#7E1E9C
ΔE00 5.01
Barney
#AC1DB8
ΔE00 5.17
Darkviolet
#9400D3
ΔE00 5.90
Barney Purple
#A00498
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E30AE #50AE30
analogous
#4F30AE #8E30AE #AE308F
triadic
#8E30AE #AE8E30 #30AE8E
tetradic
#8E30AE #AE4F30 #50AE30 #308FAE
square
#8E30AE #AE4F30 #50AE30 #308FAE
split-complementary
#8E30AE #8FAE30 #30AE4F
monochromatic
#40164E #67237E #8E30AE #AD4DCE #C37DDB
Accessibility & contrast
On white
6.60
#8E30AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#8E30AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E30AE
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E30AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E30AE | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#2F60AB
Tritanopia (blue-blind)
#8C4A6C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8e30ae; /* rgb */ color: rgb(142, 48, 174); /* oklch */ color: oklch(50.3% 0.198 316.0);
Tailwind
colors: {
custom: {
50: '#b371c7',
500: '#8e30ae',
950: '#000000',
},
}SCSS
$custom: #8e30ae; $custom-light: #b371c7; $custom-dark: #000000;
JSON
{
"hex": "#8e30ae",
"rgb": {
"r": 142,
"g": 48,
"b": 174
},
"hsl": {
"h": 284.762,
"s": 56.757,
"l": 43.529
},
"oklch": {
"l": 0.50345,
"c": 0.19837,
"h": 316
},
"luminance": 0.10921
}Semantic roles & 50–950 ramp
primary
#8E30AE
secondary
#8AC476
accent
#E0486E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82