#A332A6#A332A6
#A332A6 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.0% C 0.198 H 326.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A332A6 |
|---|---|
| RGB | rgb(163, 50, 166) |
| HSL | hsl(298, 54%, 42%) |
| HSV | hsv(298, 70%, 65%) |
| CMYK | cmyk(1.8%, 69.9%, 0%, 34.9%) |
| CIE-LAB | lab(42.49, 60.02, -39.12) |
| CIE-LCH | lch(42.49, 71.64, 326.90°) |
| OKLab | oklab(53.02% 0.166 -0.1085) |
| OKLCH | oklch(53.02% 0.198 326.8) |
| XYZ | xyz(23.1274, 12.8225, 37.3259) |
| Luminance | 0.1282 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.98
Barney
#AC1DB8
ΔE00 3.36
Ugly Purple
#A442A0
ΔE00 3.37
Purply
#983FB2
ΔE00 3.76
Warm Purple
#952E8F
ΔE00 4.44
Barney Purple
#A00498
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A332A6 #35A632
analogous
#6932A6 #A332A6 #A6326F
triadic
#A332A6 #A6A332 #32A6A3
tetradic
#A332A6 #A66932 #35A632 #326FA6
square
#A332A6 #A66932 #35A632 #326FA6
split-complementary
#A332A6 #6FA632 #32A669
monochromatic
#471648 #752477 #A332A6 #C64CC9 #D57BD7
Accessibility & contrast
On white
5.89
#A332A6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#A332A6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A332A6
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A332A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A332A6 | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B5BA9
Deuteranopia (green-blind)
#4D69A3
Tritanopia (blue-blind)
#A84468
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #a332a6; /* rgb */ color: rgb(163, 50, 166); /* oklch */ color: oklch(53.0% 0.198 326.8);
Tailwind
colors: {
custom: {
50: '#c274c1',
500: '#a332a6',
950: '#000000',
},
}SCSS
$custom: #a332a6; $custom-light: #c274c1; $custom-dark: #000000;
JSON
{
"hex": "#a332a6",
"rgb": {
"r": 163,
"g": 50,
"b": 166
},
"hsl": {
"h": 298.448,
"s": 53.704,
"l": 42.353
},
"oklch": {
"l": 0.53018,
"c": 0.19829,
"h": 326.8
},
"luminance": 0.12821
}Semantic roles & 50–950 ramp
primary
#A332A6
secondary
#76C074
accent
#DD4B4F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81