#A332A4#A332A4
#A332A4 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.9% C 0.197 H 327.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A332A4 |
|---|---|
| RGB | rgb(163, 50, 164) |
| HSL | hsl(299, 53%, 42%) |
| HSV | hsv(299, 70%, 64%) |
| CMYK | cmyk(0.6%, 69.5%, 0%, 35.7%) |
| CIE-LAB | lab(42.38, 59.68, -38.10) |
| CIE-LCH | lch(42.38, 70.80, 327.44°) |
| OKLab | oklab(52.9% 0.166 -0.1055) |
| OKLCH | oklch(52.9% 0.197 327.6) |
| XYZ | xyz(22.9454, 12.7497, 36.3672) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.92
Ugly Purple
#A442A0
ΔE00 3.22
Barney
#AC1DB8
ΔE00 3.66
Purply
#983FB2
ΔE00 4.05
Warm Purple
#952E8F
ΔE00 4.18
Barney Purple
#A00498
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A332A4 #33A432
analogous
#6A32A4 #A332A4 #A4326C
triadic
#A332A4 #A4A332 #32A4A3
tetradic
#A332A4 #A46A32 #33A432 #326CA4
square
#A332A4 #A46A32 #33A432 #326CA4
split-complementary
#A332A4 #6CA432 #32A46A
monochromatic
#461546 #742475 #A332A4 #C74BC8 #D67AD6
Accessibility & contrast
On white
5.92
#A332A4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#A332A4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A332A4
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A332A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A332A4 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E5BA7
Deuteranopia (green-blind)
#4F69A1
Tritanopia (blue-blind)
#A84367
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #a332a4; /* rgb */ color: rgb(163, 50, 164); /* oklch */ color: oklch(52.9% 0.197 327.6);
Tailwind
colors: {
custom: {
50: '#c274bf',
500: '#a332a4',
950: '#000000',
},
}SCSS
$custom: #a332a4; $custom-light: #c274bf; $custom-dark: #000000;
JSON
{
"hex": "#a332a4",
"rgb": {
"r": 163,
"g": 50,
"b": 164
},
"hsl": {
"h": 299.474,
"s": 53.271,
"l": 41.961
},
"oklch": {
"l": 0.52903,
"c": 0.19667,
"h": 327.6
},
"luminance": 0.12748
}Semantic roles & 50–950 ramp
primary
#A332A4
secondary
#73BF73
accent
#DD4B4C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81