#A52C9F#A52C9F
#A52C9F is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.201 H 330.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A52C9F |
|---|---|
| RGB | rgb(165, 44, 159) |
| HSL | hsl(303, 58%, 41%) |
| HSV | hsv(303, 73%, 65%) |
| CMYK | cmyk(0%, 73.3%, 3.6%, 35.3%) |
| CIE-LAB | lab(41.70, 61.41, -36.17) |
| CIE-LCH | lch(41.70, 71.27, 329.50°) |
| OKLab | oklab(52.39% 0.174 -0.0998) |
| OKLCH | oklch(52.39% 0.201 330.2) |
| XYZ | xyz(22.6756, 12.3057, 33.9751) |
| Luminance | 0.1230 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.55
Ugly Purple
#A442A0
ΔE00 3.70
Medium Purple
#9E43A2
ΔE00 3.75
Barney Purple
#A00498
ΔE00 3.97
Barney
#AC1DB8
ΔE00 4.21
Purply
#983FB2
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52C9F #2CA532
analogous
#6E2CA5 #A52C9F #A52C62
triadic
#A52C9F #9FA52C #2C9FA5
tetradic
#A52C9F #A56E2C #2CA532 #2C62A5
square
#A52C9F #A56E2C #2CA532 #2C62A5
split-complementary
#A52C9F #62A52C #2CA56E
monochromatic
#441242 #751F70 #A52C9F #CD42C6 #D972D4
Accessibility & contrast
On white
6.07
#A52C9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#A52C9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52C9F
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52C9F | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#50689C
Tritanopia (blue-blind)
#AB3C63
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a52c9f; /* rgb */ color: rgb(165, 44, 159); /* oklch */ color: oklch(52.4% 0.201 330.2);
Tailwind
colors: {
custom: {
50: '#c372bc',
500: '#a52c9f',
950: '#000000',
},
}SCSS
$custom: #a52c9f; $custom-light: #c372bc; $custom-dark: #000000;
JSON
{
"hex": "#a52c9f",
"rgb": {
"r": 165,
"g": 44,
"b": 159
},
"hsl": {
"h": 302.975,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.52386,
"c": 0.20062,
"h": 330.2
},
"luminance": 0.12304
}Semantic roles & 50–950 ramp
primary
#A52C9F
secondary
#6CC170
accent
#E14E47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81