#8A2B95#8A2B95
#8A2B95 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.180 H 323.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2B95 |
|---|---|
| RGB | rgb(138, 43, 149) |
| HSL | hsl(294, 55%, 38%) |
| HSV | hsv(294, 71%, 58%) |
| CMYK | cmyk(7.4%, 71.1%, 0%, 41.6%) |
| CIE-LAB | lab(36.56, 53.89, -38.56) |
| CIE-LCH | lch(36.56, 66.26, 324.41°) |
| OKLab | oklab(47.65% 0.1447 -0.1075) |
| OKLCH | oklch(47.65% 0.18 323.4) |
| XYZ | xyz(16.7694, 9.3019, 29.3401) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.27
Purple (survey)
#7E1E9C
ΔE00 4.10
Darkmagenta
#8B008B
ΔE00 4.22
Barney Purple
#A00498
ΔE00 4.27
Purple
#800080
ΔE00 5.87
Purply
#983FB2
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2B95 #36952B
analogous
#552B95 #8A2B95 #952B6B
triadic
#8A2B95 #958A2B #2B958A
tetradic
#8A2B95 #95552B #36952B #2B6B95
square
#8A2B95 #95552B #36952B #2B6B95
split-complementary
#8A2B95 #6B952B #2B9555
monochromatic
#321036 #5E1D66 #8A2B95 #B639C4 #C867D3
Accessibility & contrast
On white
7.34
#8A2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#8A2B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2B95
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2B95 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#084F98
Deuteranopia (green-blind)
#3C5A92
Tritanopia (blue-blind)
#8C3D5D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8a2b95; /* rgb */ color: rgb(138, 43, 149); /* oklch */ color: oklch(47.7% 0.180 323.4);
Tailwind
colors: {
custom: {
50: '#af6db5',
500: '#8a2b95',
950: '#000000',
},
}SCSS
$custom: #8a2b95; $custom-light: #af6db5; $custom-dark: #000000;
JSON
{
"hex": "#8a2b95",
"rgb": {
"r": 138,
"g": 43,
"b": 149
},
"hsl": {
"h": 293.774,
"s": 55.208,
"l": 37.647
},
"oklch": {
"l": 0.47653,
"c": 0.18026,
"h": 323.4
},
"luminance": 0.09301
}Semantic roles & 50–950 ramp
primary
#8A2B95
secondary
#6BBA62
accent
#DF4959
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80