#A2299B#A2299B
#A2299B is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.5% C 0.199 H 330.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A2299B |
|---|---|
| RGB | rgb(162, 41, 155) |
| HSL | hsl(303, 60%, 40%) |
| HSV | hsv(303, 75%, 64%) |
| CMYK | cmyk(0%, 74.7%, 4.3%, 36.5%) |
| CIE-LAB | lab(40.63, 61.07, -35.49) |
| CIE-LCH | lch(40.63, 70.63, 329.84°) |
| OKLab | oklab(51.45% 0.1736 -0.0979) |
| OKLCH | oklch(51.45% 0.199 330.6) |
| XYZ | xyz(21.6096, 11.6355, 32.1117) |
| Luminance | 0.1163 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.73
Barney Purple
#A00498
ΔE00 3.18
Medium Purple
#9E43A2
ΔE00 4.36
Ugly Purple
#A442A0
ΔE00 4.39
Barney
#AC1DB8
ΔE00 4.76
Purply
#983FB2
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2299B #29A230
analogous
#6D29A2 #A2299B #A2295F
triadic
#A2299B #9BA229 #299BA2
tetradic
#A2299B #A26D29 #29A230 #295FA2
square
#A2299B #A26D29 #29A230 #295FA2
split-complementary
#A2299B #5FA229 #29A26D
monochromatic
#40103E #711D6C #A2299B #CD3BC5 #DA6CD3
Accessibility & contrast
On white
6.31
#A2299B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#A2299B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A2299B
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2299B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A2299B | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B559E
Deuteranopia (green-blind)
#4E6698
Tritanopia (blue-blind)
#A83960
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a2299b; /* rgb */ color: rgb(162, 41, 155); /* oklch */ color: oklch(51.5% 0.199 330.6);
Tailwind
colors: {
custom: {
50: '#c170b9',
500: '#a2299b',
950: '#000000',
},
}SCSS
$custom: #a2299b; $custom-light: #c170b9; $custom-dark: #000000;
JSON
{
"hex": "#a2299b",
"rgb": {
"r": 162,
"g": 41,
"b": 155
},
"hsl": {
"h": 303.471,
"s": 59.606,
"l": 39.804
},
"oklch": {
"l": 0.51454,
"c": 0.19926,
"h": 330.6
},
"luminance": 0.11634
}Semantic roles & 50–950 ramp
primary
#A2299B
secondary
#67C06C
accent
#E34E45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80