#A52D9C#A52D9C
#A52D9C is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.197 H 331.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A52D9C |
|---|---|
| RGB | rgb(165, 45, 156) |
| HSL | hsl(305, 57%, 41%) |
| HSV | hsv(305, 73%, 65%) |
| CMYK | cmyk(0%, 72.7%, 5.5%, 35.3%) |
| CIE-LAB | lab(41.65, 60.59, -34.44) |
| CIE-LCH | lch(41.65, 69.69, 330.39°) |
| OKLab | oklab(52.3% 0.173 -0.0948) |
| OKLCH | oklch(52.3% 0.197 331.3) |
| XYZ | xyz(22.4562, 12.2782, 32.6332) |
| Luminance | 0.1228 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.33
Ugly Purple
#A442A0
ΔE00 3.57
Medium Purple
#9E43A2
ΔE00 3.78
Barney Purple
#A00498
ΔE00 4.08
Barney
#AC1DB8
ΔE00 4.78
Purply
#983FB2
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52D9C #2DA536
analogous
#722DA5 #A52D9C #A52D60
triadic
#A52D9C #9CA52D #2D9CA5
tetradic
#A52D9C #A5722D #2DA536 #2D60A5
square
#A52D9C #A5722D #2DA536 #2D60A5
split-complementary
#A52D9C #60A52D #2DA572
monochromatic
#451341 #75206F #A52D9C #CC43C2 #D973D1
Accessibility & contrast
On white
6.08
#A52D9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#A52D9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52D9C
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52D9C | 1.00 | 6.08 | 3.46 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23589F
Deuteranopia (green-blind)
#526899
Tritanopia (blue-blind)
#AC3B62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a52d9c; /* rgb */ color: rgb(165, 45, 156); /* oklch */ color: oklch(52.3% 0.197 331.3);
Tailwind
colors: {
custom: {
50: '#c372b9',
500: '#a52d9c',
950: '#000000',
},
}SCSS
$custom: #a52d9c; $custom-light: #c372b9; $custom-dark: #000000;
JSON
{
"hex": "#a52d9c",
"rgb": {
"r": 165,
"g": 45,
"b": 156
},
"hsl": {
"h": 304.5,
"s": 57.143,
"l": 41.176
},
"oklch": {
"l": 0.52303,
"c": 0.19724,
"h": 331.3
},
"luminance": 0.12276
}Semantic roles & 50–950 ramp
primary
#A52D9C
secondary
#6DC174
accent
#E05347
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80