#A02F9F#A02F9F
#A02F9F is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.195 H 328.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A02F9F |
|---|---|
| RGB | rgb(160, 47, 159) |
| HSL | hsl(301, 55%, 41%) |
| HSV | hsv(301, 71%, 63%) |
| CMYK | cmyk(0%, 70.6%, 0.6%, 37.3%) |
| CIE-LAB | lab(41.23, 59.23, -36.96) |
| CIE-LCH | lch(41.23, 69.82, 328.03°) |
| OKLab | oklab(51.89% 0.1657 -0.1023) |
| OKLCH | oklch(51.89% 0.195 328.3) |
| XYZ | xyz(21.7715, 12.0114, 33.9659) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.12
Medium Purple
#9E43A2
ΔE00 3.51
Ugly Purple
#A442A0
ΔE00 3.81
Barney Purple
#A00498
ΔE00 3.92
Barney
#AC1DB8
ΔE00 4.25
Purply
#983FB2
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02F9F #2FA030
analogous
#682FA0 #A02F9F #A02F66
triadic
#A02F9F #9FA02F #2F9FA0
tetradic
#A02F9F #A0682F #2FA030 #2F66A0
square
#A02F9F #A0682F #2FA030 #2F66A0
split-complementary
#A02F9F #66A02F #2FA068
monochromatic
#411341 #712170 #A02F9F #C844C7 #D673D5
Accessibility & contrast
On white
6.17
#A02F9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#A02F9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02F9F
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02F9F | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D58A2
Deuteranopia (green-blind)
#4D669C
Tritanopia (blue-blind)
#A53F64
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a02f9f; /* rgb */ color: rgb(160, 47, 159); /* oklch */ color: oklch(51.9% 0.195 328.3);
Tailwind
colors: {
custom: {
50: '#c072bc',
500: '#a02f9f',
950: '#000000',
},
}SCSS
$custom: #a02f9f; $custom-light: #c072bc; $custom-dark: #000000;
JSON
{
"hex": "#a02f9f",
"rgb": {
"r": 160,
"g": 47,
"b": 159
},
"hsl": {
"h": 300.531,
"s": 54.589,
"l": 40.588
},
"oklch": {
"l": 0.51893,
"c": 0.19467,
"h": 328.3
},
"luminance": 0.1201
}Semantic roles & 50–950 ramp
primary
#A02F9F
secondary
#6DBE6E
accent
#DE4B4A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81