#A2299A#A2299A
#A2299A is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.199 H 331.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #A2299A |
|---|---|
| RGB | rgb(162, 41, 154) |
| HSL | hsl(304, 60%, 40%) |
| HSV | hsv(304, 75%, 64%) |
| CMYK | cmyk(0%, 74.7%, 4.9%, 36.5%) |
| CIE-LAB | lab(40.58, 60.91, -34.97) |
| CIE-LCH | lch(40.58, 70.23, 330.14°) |
| OKLab | oklab(51.4% 0.1735 -0.0964) |
| OKLCH | oklch(51.4% 0.199 331) |
| XYZ | xyz(21.5259, 11.6021, 31.6713) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.63
Barney Purple
#A00498
ΔE00 3.18
Ugly Purple
#A442A0
ΔE00 4.41
Medium Purple
#9E43A2
ΔE00 4.42
Barney
#AC1DB8
ΔE00 4.94
Purply
#983FB2
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2299A #29A231
analogous
#6E29A2 #A2299A #A2295E
triadic
#A2299A #9AA229 #299AA2
tetradic
#A2299A #A26E29 #29A231 #295EA2
square
#A2299A #A26E29 #29A231 #295EA2
split-complementary
#A2299A #5EA229 #29A26E
monochromatic
#40103D #711D6C #A2299A #CD3BC4 #DA6CD2
Accessibility & contrast
On white
6.33
#A2299A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#A2299A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A2299A
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2299A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A2299A | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D559D
Deuteranopia (green-blind)
#4F6597
Tritanopia (blue-blind)
#A8385F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a2299a; /* rgb */ color: rgb(162, 41, 154); /* oklch */ color: oklch(51.4% 0.199 331.0);
Tailwind
colors: {
custom: {
50: '#c170b8',
500: '#a2299a',
950: '#000000',
},
}SCSS
$custom: #a2299a; $custom-light: #c170b8; $custom-dark: #000000;
JSON
{
"hex": "#a2299a",
"rgb": {
"r": 162,
"g": 41,
"b": 154
},
"hsl": {
"h": 303.967,
"s": 59.606,
"l": 39.804
},
"oklch": {
"l": 0.51397,
"c": 0.19851,
"h": 331
},
"luminance": 0.116
}Semantic roles & 50–950 ramp
primary
#A2299A
secondary
#67C06C
accent
#E34F45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80