#A02B9B#A02B9B
#A02B9B is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.196 H 329.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #A02B9B |
|---|---|
| RGB | rgb(160, 43, 155) |
| HSL | hsl(303, 58%, 40%) |
| HSV | hsv(303, 73%, 63%) |
| CMYK | cmyk(0%, 73.1%, 3.1%, 37.3%) |
| CIE-LAB | lab(40.52, 59.96, -35.68) |
| CIE-LCH | lch(40.52, 69.77, 329.25°) |
| OKLab | oklab(51.31% 0.1695 -0.0985) |
| OKLCH | oklch(51.31% 0.196 329.8) |
| XYZ | xyz(21.2774, 11.5695, 32.1165) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.52
Barney Purple
#A00498
ΔE00 3.25
Medium Purple
#9E43A2
ΔE00 4.20
Ugly Purple
#A442A0
ΔE00 4.34
Barney
#AC1DB8
ΔE00 4.79
Purply
#983FB2
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02B9B #2BA030
analogous
#6A2BA0 #A02B9B #A02B61
triadic
#A02B9B #9BA02B #2B9BA0
tetradic
#A02B9B #A06A2B #2BA030 #2B61A0
square
#A02B9B #A06A2B #2BA030 #2B61A0
split-complementary
#A02B9B #61A02B #2BA06A
monochromatic
#40113E #701E6C #A02B9B #CB3DC5 #D86ED3
Accessibility & contrast
On white
6.34
#A02B9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#A02B9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02B9B
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02B9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02B9B | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C559E
Deuteranopia (green-blind)
#4D6598
Tritanopia (blue-blind)
#A63B60
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a02b9b; /* rgb */ color: rgb(160, 43, 155); /* oklch */ color: oklch(51.3% 0.196 329.8);
Tailwind
colors: {
custom: {
50: '#c070b9',
500: '#a02b9b',
950: '#000000',
},
}SCSS
$custom: #a02b9b; $custom-light: #c070b9; $custom-dark: #000000;
JSON
{
"hex": "#a02b9b",
"rgb": {
"r": 160,
"g": 43,
"b": 155
},
"hsl": {
"h": 302.564,
"s": 57.635,
"l": 39.804
},
"oklch": {
"l": 0.51312,
"c": 0.19608,
"h": 329.8
},
"luminance": 0.11568
}Semantic roles & 50–950 ramp
primary
#A02B9B
secondary
#68BF6C
accent
#E14E47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80