#A52C9D#A52C9D
#A52C9D is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.3% C 0.199 H 330.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A52C9D |
|---|---|
| RGB | rgb(165, 44, 157) |
| HSL | hsl(304, 58%, 41%) |
| HSV | hsv(304, 73%, 65%) |
| CMYK | cmyk(0%, 73.3%, 4.8%, 35.3%) |
| CIE-LAB | lab(41.59, 61.09, -35.14) |
| CIE-LCH | lch(41.59, 70.47, 330.09°) |
| OKLab | oklab(52.27% 0.174 -0.0968) |
| OKLCH | oklch(52.27% 0.199 330.9) |
| XYZ | xyz(22.5035, 12.2368, 33.0685) |
| Luminance | 0.1224 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.37
Ugly Purple
#A442A0
ΔE00 3.70
Medium Purple
#9E43A2
ΔE00 3.84
Barney Purple
#A00498
ΔE00 3.94
Barney
#AC1DB8
ΔE00 4.56
Purply
#983FB2
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52C9D #2CA534
analogous
#702CA5 #A52C9D #A52C60
triadic
#A52C9D #9DA52C #2C9DA5
tetradic
#A52C9D #A5702C #2CA534 #2C60A5
square
#A52C9D #A5702C #2CA534 #2C60A5
split-complementary
#A52C9D #60A52C #2CA570
monochromatic
#441241 #751F6F #A52C9D #CD42C3 #D972D3
Accessibility & contrast
On white
6.09
#A52C9D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#A52C9D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52C9D
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52C9D | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2057A0
Deuteranopia (green-blind)
#51689A
Tritanopia (blue-blind)
#AC3B62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a52c9d; /* rgb */ color: rgb(165, 44, 157); /* oklch */ color: oklch(52.3% 0.199 330.9);
Tailwind
colors: {
custom: {
50: '#c372ba',
500: '#a52c9d',
950: '#000000',
},
}SCSS
$custom: #a52c9d; $custom-light: #c372ba; $custom-dark: #000000;
JSON
{
"hex": "#a52c9d",
"rgb": {
"r": 165,
"g": 44,
"b": 157
},
"hsl": {
"h": 303.967,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.52274,
"c": 0.1991,
"h": 330.9
},
"luminance": 0.12235
}Semantic roles & 50–950 ramp
primary
#A52C9D
secondary
#6CC172
accent
#E15147
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81