#A52C9E#A52C9E
#A52C9E is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.200 H 330.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A52C9E |
|---|---|
| RGB | rgb(165, 44, 158) |
| HSL | hsl(303, 58%, 41%) |
| HSV | hsv(303, 73%, 65%) |
| CMYK | cmyk(0%, 73.3%, 4.2%, 35.3%) |
| CIE-LAB | lab(41.64, 61.25, -35.66) |
| CIE-LCH | lch(41.64, 70.87, 329.79°) |
| OKLab | oklab(52.33% 0.174 -0.0983) |
| OKLCH | oklch(52.33% 0.2 330.5) |
| XYZ | xyz(22.5892, 12.2711, 33.5199) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.46
Ugly Purple
#A442A0
ΔE00 3.69
Medium Purple
#9E43A2
ΔE00 3.79
Barney Purple
#A00498
ΔE00 3.95
Barney
#AC1DB8
ΔE00 4.38
Purply
#983FB2
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52C9E #2CA533
analogous
#6F2CA5 #A52C9E #A52C61
triadic
#A52C9E #9EA52C #2C9EA5
tetradic
#A52C9E #A56F2C #2CA533 #2C61A5
square
#A52C9E #A56F2C #2CA533 #2C61A5
split-complementary
#A52C9E #61A52C #2CA56F
monochromatic
#441241 #751F70 #A52C9E #CD42C4 #D972D3
Accessibility & contrast
On white
6.08
#A52C9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#A52C9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52C9E
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52C9E | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F58A1
Deuteranopia (green-blind)
#51689B
Tritanopia (blue-blind)
#AB3B62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a52c9e; /* rgb */ color: rgb(165, 44, 158); /* oklch */ color: oklch(52.3% 0.200 330.5);
Tailwind
colors: {
custom: {
50: '#c372bb',
500: '#a52c9e',
950: '#000000',
},
}SCSS
$custom: #a52c9e; $custom-light: #c372bb; $custom-dark: #000000;
JSON
{
"hex": "#a52c9e",
"rgb": {
"r": 165,
"g": 44,
"b": 158
},
"hsl": {
"h": 303.471,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.5233,
"c": 0.19986,
"h": 330.5
},
"luminance": 0.12269
}Semantic roles & 50–950 ramp
primary
#A52C9E
secondary
#6CC171
accent
#E15047
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81