#A22F9F#A22F9F
#A22F9F is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.196 H 329.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A22F9F |
|---|---|
| RGB | rgb(162, 47, 159) |
| HSL | hsl(302, 55%, 41%) |
| HSV | hsv(302, 71%, 64%) |
| CMYK | cmyk(0%, 71%, 1.9%, 36.5%) |
| CIE-LAB | lab(41.56, 59.69, -36.42) |
| CIE-LCH | lch(41.56, 69.92, 328.61°) |
| OKLab | oklab(52.19% 0.1678 -0.1006) |
| OKLCH | oklch(52.19% 0.196 329.1) |
| XYZ | xyz(22.1746, 12.2192, 33.9848) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.31
Medium Purple
#9E43A2
ΔE00 3.42
Ugly Purple
#A442A0
ΔE00 3.57
Barney Purple
#A00498
ΔE00 4.07
Barney
#AC1DB8
ΔE00 4.26
Purply
#983FB2
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22F9F #2FA232
analogous
#6B2FA2 #A22F9F #A22F65
triadic
#A22F9F #9FA22F #2F9FA2
tetradic
#A22F9F #A26B2F #2FA232 #2F65A2
square
#A22F9F #A26B2F #2FA232 #2F65A2
split-complementary
#A22F9F #65A22F #2FA26B
monochromatic
#431342 #732170 #A22F9F #C945C6 #D775D4
Accessibility & contrast
On white
6.10
#A22F9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#A22F9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22F9F
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22F9F | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F58A2
Deuteranopia (green-blind)
#4F679C
Tritanopia (blue-blind)
#A83F64
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a22f9f; /* rgb */ color: rgb(162, 47, 159); /* oklch */ color: oklch(52.2% 0.196 329.1);
Tailwind
colors: {
custom: {
50: '#c173bc',
500: '#a22f9f',
950: '#000000',
},
}SCSS
$custom: #a22f9f; $custom-light: #c173bc; $custom-dark: #000000;
JSON
{
"hex": "#a22f9f",
"rgb": {
"r": 162,
"g": 47,
"b": 159
},
"hsl": {
"h": 301.565,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.52193,
"c": 0.1957,
"h": 329.1
},
"luminance": 0.12218
}Semantic roles & 50–950 ramp
primary
#A22F9F
secondary
#6EBF70
accent
#DE4D49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81