#A02BAC#A02BAC
#A02BAC is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.210 H 323.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A02BAC |
|---|---|
| RGB | rgb(160, 43, 172) |
| HSL | hsl(294, 60%, 42%) |
| HSV | hsv(294, 75%, 67%) |
| CMYK | cmyk(7%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(41.50, 62.85, -44.30) |
| CIE-LCH | lch(41.50, 76.89, 324.82°) |
| OKLab | oklab(52.33% 0.1692 -0.1236) |
| OKLCH | oklch(52.33% 0.21 323.9) |
| XYZ | xyz(22.8068, 12.1813, 40.1717) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.41
Purply
#983FB2
ΔE00 3.40
Medium Purple
#9E43A2
ΔE00 4.51
Barney Purple
#A00498
ΔE00 4.64
Warm Purple
#952E8F
ΔE00 5.05
Ugly Purple
#A442A0
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02BAC #37AC2B
analogous
#602BAC #A02BAC #AC2B77
triadic
#A02BAC #ACA02B #2BACA0
tetradic
#A02BAC #AC602B #37AC2B #2B77AC
square
#A02BAC #AC602B #37AC2B #2B77AC
split-complementary
#A02BAC #77AC2B #2BAC60
monochromatic
#45134A #721F7B #A02BAC #C344D0 #D375DC
Accessibility & contrast
On white
6.11
#A02BAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#A02BAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02BAC
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02BAC | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#4367A9
Tritanopia (blue-blind)
#A3436A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a02bac; /* rgb */ color: rgb(160, 43, 172); /* oklch */ color: oklch(52.3% 0.210 323.9);
Tailwind
colors: {
custom: {
50: '#c071c5',
500: '#a02bac',
950: '#000000',
},
}SCSS
$custom: #a02bac; $custom-light: #c071c5; $custom-dark: #000000;
JSON
{
"hex": "#a02bac",
"rgb": {
"r": 160,
"g": 43,
"b": 172
},
"hsl": {
"h": 294.419,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.52327,
"c": 0.20956,
"h": 323.9
},
"luminance": 0.1218
}Semantic roles & 50–950 ramp
primary
#A02BAC
secondary
#77C46F
accent
#E34553
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82