#A332A2#A332A2
#A332A2 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.195 H 328.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A332A2 |
|---|---|
| RGB | rgb(163, 50, 162) |
| HSL | hsl(301, 53%, 42%) |
| HSV | hsv(301, 69%, 64%) |
| CMYK | cmyk(0%, 69.3%, 0.6%, 36.1%) |
| CIE-LAB | lab(42.27, 59.34, -37.08) |
| CIE-LCH | lch(42.27, 69.97, 328.00°) |
| OKLab | oklab(52.79% 0.1659 -0.1025) |
| OKLCH | oklch(52.79% 0.195 328.3) |
| XYZ | xyz(22.7662, 12.6780, 35.4234) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.91
Ugly Purple
#A442A0
ΔE00 3.10
Warm Purple
#952E8F
ΔE00 3.93
Barney
#AC1DB8
ΔE00 3.96
Purply
#983FB2
ΔE00 4.36
Barney Purple
#A00498
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A332A2 #32A333
analogous
#6C32A3 #A332A2 #A3326A
triadic
#A332A2 #A2A332 #32A2A3
tetradic
#A332A2 #A36C32 #32A333 #326AA3
square
#A332A2 #A36C32 #32A333 #326AA3
split-complementary
#A332A2 #6AA332 #32A36C
monochromatic
#451545 #742473 #A332A2 #C84BC7 #D679D5
Accessibility & contrast
On white
5.94
#A332A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#A332A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A332A2
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A332A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A332A2 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#A84266
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #a332a2; /* rgb */ color: rgb(163, 50, 162); /* oklch */ color: oklch(52.8% 0.195 328.3);
Tailwind
colors: {
custom: {
50: '#c274be',
500: '#a332a2',
950: '#000000',
},
}SCSS
$custom: #a332a2; $custom-light: #c274be; $custom-dark: #000000;
JSON
{
"hex": "#a332a2",
"rgb": {
"r": 163,
"g": 50,
"b": 162
},
"hsl": {
"h": 300.531,
"s": 53.052,
"l": 41.765
},
"oklch": {
"l": 0.52789,
"c": 0.19505,
"h": 328.3
},
"luminance": 0.12676
}Semantic roles & 50–950 ramp
primary
#A332A2
secondary
#72BF73
accent
#DC4D4B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81