#A22BAC#A22BAC
#A22BAC is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.210 H 324.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A22BAC |
|---|---|
| RGB | rgb(162, 43, 172) |
| HSL | hsl(295, 60%, 42%) |
| HSV | hsv(295, 75%, 67%) |
| CMYK | cmyk(5.8%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(41.83, 63.26, -43.76) |
| CIE-LCH | lch(41.83, 76.93, 325.33°) |
| OKLab | oklab(52.62% 0.1715 -0.122) |
| OKLCH | oklch(52.62% 0.21 324.6) |
| XYZ | xyz(23.2100, 12.3892, 40.1906) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.24
Purply
#983FB2
ΔE00 3.49
Medium Purple
#9E43A2
ΔE00 4.33
Barney Purple
#A00498
ΔE00 4.68
Ugly Purple
#A442A0
ΔE00 4.92
Warm Purple
#952E8F
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22BAC #35AC2B
analogous
#622BAC #A22BAC #AC2B76
triadic
#A22BAC #ACA22B #2BACA2
tetradic
#A22BAC #AC622B #35AC2B #2B76AC
square
#A22BAC #AC622B #35AC2B #2B76AC
split-complementary
#A22BAC #76AC2B #2BAC62
monochromatic
#46134A #741F7B #A22BAC #C544D0 #D475DC
Accessibility & contrast
On white
6.04
#A22BAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#A22BAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22BAC
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22BAC | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#4567A9
Tritanopia (blue-blind)
#A5426A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #a22bac; /* rgb */ color: rgb(162, 43, 172); /* oklch */ color: oklch(52.6% 0.210 324.6);
Tailwind
colors: {
custom: {
50: '#c171c5',
500: '#a22bac',
950: '#000000',
},
}SCSS
$custom: #a22bac; $custom-light: #c171c5; $custom-dark: #000000;
JSON
{
"hex": "#a22bac",
"rgb": {
"r": 162,
"g": 43,
"b": 172
},
"hsl": {
"h": 295.349,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.52622,
"c": 0.21043,
"h": 324.6
},
"luminance": 0.12388
}Semantic roles & 50–950 ramp
primary
#A22BAC
secondary
#75C46F
accent
#E34551
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82