#8A2B7A#8A2B7A
#8A2B7A is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.158 H 335.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2B7A |
|---|---|
| RGB | rgb(138, 43, 122) |
| HSL | hsl(310, 52%, 35%) |
| HSV | hsv(310, 69%, 54%) |
| CMYK | cmyk(0%, 68.8%, 11.6%, 45.9%) |
| CIE-LAB | lab(35.08, 49.18, -24.23) |
| CIE-LCH | lch(35.08, 54.83, 333.77°) |
| OKLab | oklab(46.1% 0.1434 -0.066) |
| OKLCH | oklch(46.1% 0.158 335.3) |
| XYZ | xyz(14.8581, 8.5374, 19.2739) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.10
Light Eggplant
#894585
ΔE00 5.65
Darkish Purple
#751973
ΔE00 5.67
Bruise
#7E4071
ΔE00 5.72
Darkmagenta
#8B008B
ΔE00 5.91
Purple
#800080
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2B7A #2B8A3B
analogous
#6A2B8A #8A2B7A #8A2B4B
triadic
#8A2B7A #7A8A2B #2B7A8A
tetradic
#8A2B7A #8A6A2B #2B8A3B #2B4B8A
square
#8A2B7A #8A6A2B #2B8A3B #2B4B8A
split-complementary
#8A2B7A #4B8A2B #2B8A6A
monochromatic
#2D0E27 #5B1C51 #8A2B7A #B93AA3 #CE61BC
Accessibility & contrast
On white
7.76
#8A2B7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#8A2B7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2B7A
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2B7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2B7A | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B497C
Deuteranopia (green-blind)
#4B5878
Tritanopia (blue-blind)
#91314E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8a2b7a; /* rgb */ color: rgb(138, 43, 122); /* oklch */ color: oklch(46.1% 0.158 335.3);
Tailwind
colors: {
custom: {
50: '#af6ca0',
500: '#8a2b7a',
950: '#000000',
},
}SCSS
$custom: #8a2b7a; $custom-light: #af6ca0; $custom-dark: #000000;
JSON
{
"hex": "#8a2b7a",
"rgb": {
"r": 138,
"g": 43,
"b": 122
},
"hsl": {
"h": 310.105,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.46104,
"c": 0.15787,
"h": 335.3
},
"luminance": 0.08536
}Semantic roles & 50–950 ramp
primary
#8A2B7A
secondary
#5DB46C
accent
#DC644C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E