#A22F9B#A22F9B
#A22F9B is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.193 H 330.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A22F9B |
|---|---|
| RGB | rgb(162, 47, 155) |
| HSL | hsl(304, 55%, 41%) |
| HSV | hsv(304, 71%, 64%) |
| CMYK | cmyk(0%, 71%, 4.3%, 36.5%) |
| CIE-LAB | lab(41.35, 59.03, -34.35) |
| CIE-LCH | lch(41.35, 68.30, 329.80°) |
| OKLab | oklab(51.97% 0.1677 -0.0947) |
| OKLCH | oklch(51.97% 0.193 330.6) |
| XYZ | xyz(21.8331, 12.0826, 32.1862) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.91
Ugly Purple
#A442A0
ΔE00 3.57
Medium Purple
#9E43A2
ΔE00 3.61
Barney Purple
#A00498
ΔE00 4.02
Barney
#AC1DB8
ΔE00 4.94
Purply
#983FB2
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22F9B #2FA236
analogous
#6F2FA2 #A22F9B #A22F61
triadic
#A22F9B #9BA22F #2F9BA2
tetradic
#A22F9B #A26F2F #2FA236 #2F61A2
square
#A22F9B #A26F2F #2FA236 #2F61A2
split-complementary
#A22F9B #61A22F #2FA26F
monochromatic
#431340 #73216E #A22F9B #C945C1 #D775D1
Accessibility & contrast
On white
6.15
#A22F9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#A22F9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22F9B
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22F9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22F9B | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24579E
Deuteranopia (green-blind)
#516798
Tritanopia (blue-blind)
#A83D62
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a22f9b; /* rgb */ color: rgb(162, 47, 155); /* oklch */ color: oklch(52.0% 0.193 330.6);
Tailwind
colors: {
custom: {
50: '#c172b9',
500: '#a22f9b',
950: '#000000',
},
}SCSS
$custom: #a22f9b; $custom-light: #c172b9; $custom-dark: #000000;
JSON
{
"hex": "#a22f9b",
"rgb": {
"r": 162,
"g": 47,
"b": 155
},
"hsl": {
"h": 303.652,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.51968,
"c": 0.19256,
"h": 330.6
},
"luminance": 0.12081
}Semantic roles & 50–950 ramp
primary
#A22F9B
secondary
#6EBF73
accent
#DE5349
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80