#8A30A3#8A30A3
#8A30A3 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.187 H 318.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8A30A3 |
|---|---|
| RGB | rgb(138, 48, 163) |
| HSL | hsl(287, 55%, 41%) |
| HSV | hsv(287, 71%, 64%) |
| CMYK | cmyk(15.3%, 70.6%, 0%, 36.1%) |
| CIE-LAB | lab(38.13, 54.59, -44.51) |
| CIE-LCH | lch(38.13, 70.44, 320.80°) |
| OKLab | oklab(49.06% 0.1387 -0.1249) |
| OKLCH | oklch(49.06% 0.187 318) |
| XYZ | xyz(18.1481, 10.1623, 35.6488) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.01
Purply
#983FB2
ΔE00 4.71
Warm Purple
#952E8F
ΔE00 5.15
Barney Purple
#A00498
ΔE00 5.62
Barney
#AC1DB8
ΔE00 6.10
Darkmagenta
#8B008B
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A30A3 #49A330
analogous
#5130A3 #8A30A3 #A33083
triadic
#8A30A3 #A38A30 #30A38A
tetradic
#8A30A3 #A35130 #49A330 #3083A3
square
#8A30A3 #A35130 #49A330 #3083A3
split-complementary
#8A30A3 #83A330 #30A351
monochromatic
#3A1444 #622274 #8A30A3 #AD47C9 #C277D7
Accessibility & contrast
On white
6.93
#8A30A3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#8A30A3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A30A3
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A30A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A30A3 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#355DA0
Tritanopia (blue-blind)
#894666
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8a30a3; /* rgb */ color: rgb(138, 48, 163); /* oklch */ color: oklch(49.1% 0.187 318.0);
Tailwind
colors: {
custom: {
50: '#b070bf',
500: '#8a30a3',
950: '#000000',
},
}SCSS
$custom: #8a30a3; $custom-light: #b070bf; $custom-dark: #000000;
JSON
{
"hex": "#8a30a3",
"rgb": {
"r": 138,
"g": 48,
"b": 163
},
"hsl": {
"h": 286.957,
"s": 54.502,
"l": 41.373
},
"oklch": {
"l": 0.49057,
"c": 0.18666,
"h": 318
},
"luminance": 0.10162
}Semantic roles & 50–950 ramp
primary
#8A30A3
secondary
#81BF70
accent
#DE4A6A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81