#A52F9E#A52F9E
#A52F9E is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.196 H 330.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A52F9E |
|---|---|
| RGB | rgb(165, 47, 158) |
| HSL | hsl(304, 56%, 42%) |
| HSV | hsv(304, 72%, 65%) |
| CMYK | cmyk(0%, 71.5%, 4.2%, 35.3%) |
| CIE-LAB | lab(42.00, 60.22, -35.09) |
| CIE-LCH | lch(42.00, 69.70, 329.77°) |
| OKLab | oklab(52.59% 0.171 -0.0967) |
| OKLCH | oklch(52.59% 0.196 330.5) |
| XYZ | xyz(22.7050, 12.5027, 33.5585) |
| Luminance | 0.1250 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.27
Medium Purple
#9E43A2
ΔE00 3.42
Warm Purple
#952E8F
ΔE00 3.59
Barney Purple
#A00498
ΔE00 4.36
Barney
#AC1DB8
ΔE00 4.52
Purply
#983FB2
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52F9E #2FA536
analogous
#712FA5 #A52F9E #A52F63
triadic
#A52F9E #9EA52F #2F9EA5
tetradic
#A52F9E #A5712F #2FA536 #2F63A5
square
#A52F9E #A5712F #2FA536 #2F63A5
split-complementary
#A52F9E #63A52F #2FA571
monochromatic
#461443 #752170 #A52F9E #CB47C3 #D876D2
Accessibility & contrast
On white
6.00
#A52F9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#A52F9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52F9E
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52F9E | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2359A1
Deuteranopia (green-blind)
#52699B
Tritanopia (blue-blind)
#AB3E63
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #a52f9e; /* rgb */ color: rgb(165, 47, 158); /* oklch */ color: oklch(52.6% 0.196 330.5);
Tailwind
colors: {
custom: {
50: '#c373bb',
500: '#a52f9e',
950: '#000000',
},
}SCSS
$custom: #a52f9e; $custom-light: #c373bb; $custom-dark: #000000;
JSON
{
"hex": "#a52f9e",
"rgb": {
"r": 165,
"g": 47,
"b": 158
},
"hsl": {
"h": 303.559,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.52589,
"c": 0.19649,
"h": 330.5
},
"luminance": 0.12501
}Semantic roles & 50–950 ramp
primary
#A52F9E
secondary
#70C074
accent
#DF5249
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81