#8A30B1#8A30B1
#8A30B1 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.200 H 313.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8A30B1 |
|---|---|
| RGB | rgb(138, 48, 177) |
| HSL | hsl(282, 57%, 44%) |
| HSV | hsv(282, 73%, 69%) |
| CMYK | cmyk(22%, 72.9%, 0%, 30.6%) |
| CIE-LAB | lab(39.06, 57.44, -51.38) |
| CIE-LCH | lch(39.06, 77.07, 318.19°) |
| OKLab | oklab(50.01% 0.1373 -0.1451) |
| OKLCH | oklch(50.01% 0.2 313.4) |
| XYZ | xyz(19.4726, 10.6921, 42.6245) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.45
Darkorchid
#9932CC
ΔE00 4.63
Purple (survey)
#7E1E9C
ΔE00 4.85
Darkviolet
#9400D3
ΔE00 5.36
Barney
#AC1DB8
ΔE00 5.94
Rebeccapurple
#663399
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A30B1 #57B130
analogous
#4930B1 #8A30B1 #B13098
triadic
#8A30B1 #B18A30 #30B18A
tetradic
#8A30B1 #B14930 #57B130 #3098B1
square
#8A30B1 #B14930 #57B130 #3098B1
split-complementary
#8A30B1 #98B130 #30B149
monochromatic
#3F1651 #642381 #8A30B1 #A84FCF #C07FDC
Accessibility & contrast
On white
6.69
#8A30B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#8A30B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A30B1
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A30B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A30B1 | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#255EAE
Tritanopia (blue-blind)
#864C6E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8a30b1; /* rgb */ color: rgb(138, 48, 177); /* oklch */ color: oklch(50.0% 0.200 313.4);
Tailwind
colors: {
custom: {
50: '#b071c9',
500: '#8a30b1',
950: '#000000',
},
}SCSS
$custom: #8a30b1; $custom-light: #b071c9; $custom-dark: #000000;
JSON
{
"hex": "#8a30b1",
"rgb": {
"r": 138,
"g": 48,
"b": 177
},
"hsl": {
"h": 281.86,
"s": 57.333,
"l": 44.118
},
"oklch": {
"l": 0.5001,
"c": 0.19973,
"h": 313.4
},
"luminance": 0.10692
}Semantic roles & 50–950 ramp
primary
#8A30B1
secondary
#8FC578
accent
#E14776
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82