#A732A2#A732A2
#A732A2 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.4% C 0.197 H 329.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A732A2 |
|---|---|
| RGB | rgb(167, 50, 162) |
| HSL | hsl(303, 54%, 43%) |
| HSV | hsv(303, 70%, 65%) |
| CMYK | cmyk(0%, 70.1%, 3%, 34.5%) |
| CIE-LAB | lab(42.92, 60.27, -36.01) |
| CIE-LCH | lch(42.92, 70.21, 329.14°) |
| OKLab | oklab(53.38% 0.1703 -0.0993) |
| OKLCH | oklch(53.38% 0.197 329.7) |
| XYZ | xyz(23.5984, 13.1071, 35.4624) |
| Luminance | 0.1310 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.73
Medium Purple
#9E43A2
ΔE00 2.93
Barney
#AC1DB8
ΔE00 4.16
Warm Purple
#952E8F
ΔE00 4.40
Purply
#983FB2
ΔE00 4.86
Barney Purple
#A00498
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A732A2 #32A737
analogous
#7132A7 #A732A2 #A73268
triadic
#A732A2 #A2A732 #32A2A7
tetradic
#A732A2 #A77132 #32A737 #3268A7
square
#A732A2 #A77132 #32A737 #3268A7
split-complementary
#A732A2 #68A732 #32A771
monochromatic
#491647 #782474 #A732A2 #CA4DC4 #D87CD4
Accessibility & contrast
On white
5.80
#A732A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#A732A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A732A2
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A732A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A732A2 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255BA5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#AD4166
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #a732a2; /* rgb */ color: rgb(167, 50, 162); /* oklch */ color: oklch(53.4% 0.197 329.7);
Tailwind
colors: {
custom: {
50: '#c575be',
500: '#a732a2',
950: '#000000',
},
}SCSS
$custom: #a732a2; $custom-light: #c575be; $custom-dark: #000000;
JSON
{
"hex": "#a732a2",
"rgb": {
"r": 167,
"g": 50,
"b": 162
},
"hsl": {
"h": 302.564,
"s": 53.917,
"l": 42.549
},
"oklch": {
"l": 0.53383,
"c": 0.19714,
"h": 329.7
},
"luminance": 0.13105
}Semantic roles & 50–950 ramp
primary
#A732A2
secondary
#74C078
accent
#DD514B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81