#A22E98#A22E98
#A22E98 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.191 H 331.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A22E98 |
|---|---|
| RGB | rgb(162, 46, 152) |
| HSL | hsl(305, 56%, 41%) |
| HSV | hsv(305, 72%, 64%) |
| CMYK | cmyk(0%, 71.6%, 6.2%, 36.5%) |
| CIE-LAB | lab(41.06, 58.90, -32.99) |
| CIE-LCH | lch(41.06, 67.51, 330.75°) |
| OKLab | oklab(51.71% 0.1686 -0.0907) |
| OKLCH | oklch(51.71% 0.191 331.7) |
| XYZ | xyz(21.5448, 11.9041, 30.8627) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.65
Ugly Purple
#A442A0
ΔE00 3.81
Barney Purple
#A00498
ΔE00 3.93
Medium Purple
#9E43A2
ΔE00 3.97
Barney
#AC1DB8
ΔE00 5.44
Purply
#983FB2
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22E98 #2EA238
analogous
#722EA2 #A22E98 #A22E5E
triadic
#A22E98 #98A22E #2E98A2
tetradic
#A22E98 #A2722E #2EA238 #2E5EA2
square
#A22E98 #A2722E #2EA238 #2E5EA2
split-complementary
#A22E98 #5EA22E #2EA272
monochromatic
#43133F #72206B #A22E98 #CA43BE #D773CF
Accessibility & contrast
On white
6.21
#A22E98 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#A22E98 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22E98
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22E98 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26569B
Deuteranopia (green-blind)
#526795
Tritanopia (blue-blind)
#A93B60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a22e98; /* rgb */ color: rgb(162, 46, 152); /* oklch */ color: oklch(51.7% 0.191 331.7);
Tailwind
colors: {
custom: {
50: '#c172b7',
500: '#a22e98',
950: '#000000',
},
}SCSS
$custom: #a22e98; $custom-light: #c172b7; $custom-dark: #000000;
JSON
{
"hex": "#a22e98",
"rgb": {
"r": 162,
"g": 46,
"b": 152
},
"hsl": {
"h": 305.172,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.51712,
"c": 0.19143,
"h": 331.7
},
"luminance": 0.11902
}Semantic roles & 50–950 ramp
primary
#A22E98
secondary
#6DBF74
accent
#DF5649
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80