#A532A2#A532A2
#A532A2 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.196 H 329.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A532A2 |
|---|---|
| RGB | rgb(165, 50, 162) |
| HSL | hsl(302, 53%, 42%) |
| HSV | hsv(302, 70%, 65%) |
| CMYK | cmyk(0%, 69.7%, 1.8%, 35.3%) |
| CIE-LAB | lab(42.60, 59.80, -36.55) |
| CIE-LCH | lch(42.60, 70.09, 328.57°) |
| OKLab | oklab(53.09% 0.1681 -0.1009) |
| OKLCH | oklch(53.09% 0.196 329) |
| XYZ | xyz(23.1790, 12.8909, 35.4428) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.89
Ugly Purple
#A442A0
ΔE00 2.89
Barney
#AC1DB8
ΔE00 4.04
Warm Purple
#952E8F
ΔE00 4.15
Purply
#983FB2
ΔE00 4.60
Barney Purple
#A00498
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A532A2 #32A535
analogous
#6E32A5 #A532A2 #A53269
triadic
#A532A2 #A2A532 #32A2A5
tetradic
#A532A2 #A56E32 #32A535 #3269A5
square
#A532A2 #A56E32 #32A535 #3269A5
split-complementary
#A532A2 #69A532 #32A56E
monochromatic
#471646 #762474 #A532A2 #C94CC5 #D77BD4
Accessibility & contrast
On white
5.87
#A532A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#A532A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A532A2
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A532A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A532A2 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235BA5
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#AB4166
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #a532a2; /* rgb */ color: rgb(165, 50, 162); /* oklch */ color: oklch(53.1% 0.196 329.0);
Tailwind
colors: {
custom: {
50: '#c374be',
500: '#a532a2',
950: '#000000',
},
}SCSS
$custom: #a532a2; $custom-light: #c374be; $custom-dark: #000000;
JSON
{
"hex": "#a532a2",
"rgb": {
"r": 165,
"g": 50,
"b": 162
},
"hsl": {
"h": 301.565,
"s": 53.488,
"l": 42.157
},
"oklch": {
"l": 0.53085,
"c": 0.19609,
"h": 329
},
"luminance": 0.12889
}Semantic roles & 50–950 ramp
primary
#A532A2
secondary
#73BF75
accent
#DD4F4B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81