#A52F99#A52F99
#A52F99 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.193 H 332.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A52F99 |
|---|---|
| RGB | rgb(165, 47, 153) |
| HSL | hsl(306, 56%, 42%) |
| HSV | hsv(306, 72%, 65%) |
| CMYK | cmyk(0%, 71.5%, 7.3%, 35.3%) |
| CIE-LAB | lab(41.74, 59.42, -32.49) |
| CIE-LCH | lch(41.74, 67.72, 331.33°) |
| OKLab | oklab(52.32% 0.1708 -0.0892) |
| OKLCH | oklch(52.32% 0.193 332.4) |
| XYZ | xyz(22.2834, 12.3341, 31.3379) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.28
Ugly Purple
#A442A0
ΔE00 3.41
Medium Purple
#9E43A2
ΔE00 3.80
Barney Purple
#A00498
ΔE00 4.42
Barney
#AC1DB8
ΔE00 5.42
Purply
#983FB2
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52F99 #2FA53B
analogous
#762FA5 #A52F99 #A52F5E
triadic
#A52F99 #99A52F #2F99A5
tetradic
#A52F99 #A5762F #2FA53B #2F5EA5
square
#A52F99 #A5762F #2FA53B #2F5EA5
split-complementary
#A52F99 #5EA52F #2FA576
monochromatic
#461441 #75216D #A52F99 #CB47BD #D876CE
Accessibility & contrast
On white
6.06
#A52F99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#A52F99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52F99
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52F99 | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29589C
Deuteranopia (green-blind)
#556896
Tritanopia (blue-blind)
#AC3B60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a52f99; /* rgb */ color: rgb(165, 47, 153); /* oklch */ color: oklch(52.3% 0.193 332.4);
Tailwind
colors: {
custom: {
50: '#c373b7',
500: '#a52f99',
950: '#000000',
},
}SCSS
$custom: #a52f99; $custom-light: #c373b7; $custom-dark: #000000;
JSON
{
"hex": "#a52f99",
"rgb": {
"r": 165,
"g": 47,
"b": 153
},
"hsl": {
"h": 306.102,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.52315,
"c": 0.19267,
"h": 332.4
},
"luminance": 0.12332
}Semantic roles & 50–950 ramp
primary
#A52F99
secondary
#70C078
accent
#DF5849
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80