#8A2C76#8A2C76
#8A2C76 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.153 H 337.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2C76 |
|---|---|
| RGB | rgb(138, 44, 118) |
| HSL | hsl(313, 52%, 36%) |
| HSV | hsv(313, 68%, 54%) |
| CMYK | cmyk(0%, 68.1%, 14.5%, 45.9%) |
| CIE-LAB | lab(35.03, 48.14, -21.80) |
| CIE-LCH | lch(35.03, 52.84, 335.64°) |
| OKLab | oklab(46.01% 0.1416 -0.0591) |
| OKLCH | oklch(46.01% 0.153 337.3) |
| XYZ | xyz(14.6522, 8.5139, 18.0077) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.90
Bruise
#7E4071
ΔE00 5.20
Light Eggplant
#894585
ΔE00 5.75
Red Violet
#9E0168
ΔE00 6.13
Darkish Purple
#751973
ΔE00 6.15
Darkmagenta
#8B008B
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2C76 #2C8A40
analogous
#6F2C8A #8A2C76 #8A2C47
triadic
#8A2C76 #768A2C #2C768A
tetradic
#8A2C76 #8A6F2C #2C8A40 #2C478A
square
#8A2C76 #8A6F2C #2C8A40 #2C478A
split-complementary
#8A2C76 #478A2C #2C8A6F
monochromatic
#2D0E27 #5C1D4E #8A2C76 #B83B9E #CD63B7
Accessibility & contrast
On white
7.77
#8A2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#8A2C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2C76
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2C76 | 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)
#2F4978
Deuteranopia (green-blind)
#4D5874
Tritanopia (blue-blind)
#91314D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8a2c76; /* rgb */ color: rgb(138, 44, 118); /* oklch */ color: oklch(46.0% 0.153 337.3);
Tailwind
colors: {
custom: {
50: '#af6d9d',
500: '#8a2c76',
950: '#000000',
},
}SCSS
$custom: #8a2c76; $custom-light: #af6d9d; $custom-dark: #000000;
JSON
{
"hex": "#8a2c76",
"rgb": {
"r": 138,
"g": 44,
"b": 118
},
"hsl": {
"h": 312.766,
"s": 51.648,
"l": 35.686
},
"oklch": {
"l": 0.46007,
"c": 0.15344,
"h": 337.3
},
"luminance": 0.08513
}Semantic roles & 50–950 ramp
primary
#8A2C76
secondary
#5EB470
accent
#DB6B4D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E