#8B2A9E#8B2A9E
#8B2A9E is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.190 H 320.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2A9E |
|---|---|
| RGB | rgb(139, 42, 158) |
| HSL | hsl(290, 58%, 39%) |
| HSV | hsv(290, 73%, 62%) |
| CMYK | cmyk(12%, 73.4%, 0%, 38%) |
| CIE-LAB | lab(37.14, 56.18, -43.08) |
| CIE-LCH | lch(37.14, 70.80, 322.52°) |
| OKLab | oklab(48.28% 0.1465 -0.1206) |
| OKLCH | oklch(48.28% 0.19 320.5) |
| XYZ | xyz(17.6462, 9.6144, 33.2674) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.47
Warm Purple
#952E8F
ΔE00 4.44
Barney Purple
#A00498
ΔE00 4.63
Darkmagenta
#8B008B
ΔE00 4.95
Purply
#983FB2
ΔE00 5.68
Barney
#AC1DB8
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2A9E #3D9E2A
analogous
#512A9E #8B2A9E #9E2A77
triadic
#8B2A9E #9E8B2A #2A9E8B
tetradic
#8B2A9E #9E512A #3D9E2A #2A779E
square
#8B2A9E #9E512A #3D9E2A #2A779E
split-complementary
#8B2A9E #779E2A #2A9E51
monochromatic
#36103D #601D6E #8B2A9E #B33ACB #C66BD8
Accessibility & contrast
On white
7.18
#8B2A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#8B2A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2A9E
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2A9E | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#365B9B
Tritanopia (blue-blind)
#8C4062
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8b2a9e; /* rgb */ color: rgb(139, 42, 158); /* oklch */ color: oklch(48.3% 0.190 320.5);
Tailwind
colors: {
custom: {
50: '#b06dbb',
500: '#8b2a9e',
950: '#000000',
},
}SCSS
$custom: #8b2a9e; $custom-light: #b06dbb; $custom-dark: #000000;
JSON
{
"hex": "#8b2a9e",
"rgb": {
"r": 139,
"g": 42,
"b": 158
},
"hsl": {
"h": 290.172,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.48279,
"c": 0.18977,
"h": 320.5
},
"luminance": 0.09614
}Semantic roles & 50–950 ramp
primary
#8B2A9E
secondary
#74BE66
accent
#E14760
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81