#8A2B79#8A2B79
#8A2B79 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.157 H 335.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2B79 |
|---|---|
| RGB | rgb(138, 43, 121) |
| HSL | hsl(311, 52%, 35%) |
| HSV | hsv(311, 69%, 54%) |
| CMYK | cmyk(0%, 68.8%, 12.3%, 45.9%) |
| CIE-LAB | lab(35.03, 49.02, -23.68) |
| CIE-LCH | lch(35.03, 54.44, 334.22°) |
| OKLab | oklab(46.05% 0.1433 -0.0645) |
| OKLCH | oklch(46.05% 0.157 335.8) |
| XYZ | xyz(14.7965, 8.5128, 18.9493) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.29
Bruise
#7E4071
ΔE00 5.62
Light Eggplant
#894585
ΔE00 5.69
Darkish Purple
#751973
ΔE00 5.74
Darkmagenta
#8B008B
ΔE00 6.09
Purple
#800080
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2B79 #2B8A3C
analogous
#6B2B8A #8A2B79 #8A2B49
triadic
#8A2B79 #798A2B #2B798A
tetradic
#8A2B79 #8A6B2B #2B8A3C #2B498A
square
#8A2B79 #8A6B2B #2B8A3C #2B498A
split-complementary
#8A2B79 #498A2B #2B8A6B
monochromatic
#2D0E27 #5B1C50 #8A2B79 #B93AA2 #CE61BB
Accessibility & contrast
On white
7.77
#8A2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#8A2B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2B79
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2B79 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#4B5877
Tritanopia (blue-blind)
#91314E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8a2b79; /* rgb */ color: rgb(138, 43, 121); /* oklch */ color: oklch(46.1% 0.157 335.8);
Tailwind
colors: {
custom: {
50: '#af6ca0',
500: '#8a2b79',
950: '#000000',
},
}SCSS
$custom: #8a2b79; $custom-light: #af6ca0; $custom-dark: #000000;
JSON
{
"hex": "#8a2b79",
"rgb": {
"r": 138,
"g": 43,
"b": 121
},
"hsl": {
"h": 310.737,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.46053,
"c": 0.1571,
"h": 335.8
},
"luminance": 0.08512
}Semantic roles & 50–950 ramp
primary
#8A2B79
secondary
#5DB46C
accent
#DC664C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E