#A52B9F#A52B9F
#A52B9F is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.202 H 330.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A52B9F |
|---|---|
| RGB | rgb(165, 43, 159) |
| HSL | hsl(303, 59%, 41%) |
| HSV | hsv(303, 74%, 65%) |
| CMYK | cmyk(0%, 73.9%, 3.6%, 35.3%) |
| CIE-LAB | lab(41.58, 61.74, -36.36) |
| CIE-LCH | lch(41.58, 71.65, 329.51°) |
| OKLab | oklab(52.3% 0.175 -0.1003) |
| OKLCH | oklch(52.3% 0.202 330.2) |
| XYZ | xyz(22.6388, 12.2321, 33.9628) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.52
Ugly Purple
#A442A0
ΔE00 3.83
Barney Purple
#A00498
ΔE00 3.84
Medium Purple
#9E43A2
ΔE00 3.87
Barney
#AC1DB8
ΔE00 4.17
Purply
#983FB2
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52B9F #2BA531
analogous
#6E2BA5 #A52B9F #A52B62
triadic
#A52B9F #9FA52B #2B9FA5
tetradic
#A52B9F #A56E2B #2BA531 #2B62A5
square
#A52B9F #A56E2B #2BA531 #2B62A5
split-complementary
#A52B9F #62A52B #2BA56E
monochromatic
#441241 #741E70 #A52B9F #CD40C6 #DA71D5
Accessibility & contrast
On white
6.09
#A52B9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#A52B9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52B9F
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52B9F | 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)
#1C58A2
Deuteranopia (green-blind)
#50689C
Tritanopia (blue-blind)
#AB3B63
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a52b9f; /* rgb */ color: rgb(165, 43, 159); /* oklch */ color: oklch(52.3% 0.202 330.2);
Tailwind
colors: {
custom: {
50: '#c371bc',
500: '#a52b9f',
950: '#000000',
},
}SCSS
$custom: #a52b9f; $custom-light: #c371bc; $custom-dark: #000000;
JSON
{
"hex": "#a52b9f",
"rgb": {
"r": 165,
"g": 43,
"b": 159
},
"hsl": {
"h": 302.951,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.52303,
"c": 0.2017,
"h": 330.2
},
"luminance": 0.1223
}Semantic roles & 50–950 ramp
primary
#A52B9F
secondary
#6BC16F
accent
#E24E46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81