#A02FC4#A02FC4
#A02FC4 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.226 H 316.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A02FC4 |
|---|---|
| RGB | rgb(160, 47, 196) |
| HSL | hsl(286, 61%, 48%) |
| HSV | hsv(286, 76%, 77%) |
| CMYK | cmyk(18.4%, 76%, 0%, 23.1%) |
| CIE-LAB | lab(43.50, 65.93, -55.22) |
| CIE-LCH | lch(43.50, 85.99, 320.05°) |
| OKLab | oklab(54.23% 0.1633 -0.1556) |
| OKLCH | oklch(54.23% 0.226 316.4) |
| XYZ | xyz(25.4760, 13.4932, 53.4763) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.96
Barney
#AC1DB8
ΔE00 3.38
Purply
#983FB2
ΔE00 3.46
Vibrant Purple
#AD03DE
ΔE00 3.91
Darkviolet
#9400D3
ΔE00 5.30
Violet (survey)
#9A0EEA
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02FC4 #53C42F
analogous
#552FC4 #A02FC4 #C42F9E
triadic
#A02FC4 #C4A02F #2FC4A0
tetradic
#A02FC4 #C4552F #53C42F #2F9EC4
square
#A02FC4 #C4552F #53C42F #2F9EC4
split-complementary
#A02FC4 #9EC42F #2FC455
monochromatic
#4F1761 #782393 #A02FC4 #B959D7 #CE8AE3
Accessibility & contrast
On white
5.68
#A02FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#A02FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02FC4
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02FC4 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#2E6AC1
Tritanopia (blue-blind)
#9E5078
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a02fc4; /* rgb */ color: rgb(160, 47, 196); /* oklch */ color: oklch(54.2% 0.226 316.4);
Tailwind
colors: {
custom: {
50: '#c174d7',
500: '#a02fc4',
950: '#000000',
},
}SCSS
$custom: #a02fc4; $custom-light: #c174d7; $custom-dark: #000000;
JSON
{
"hex": "#a02fc4",
"rgb": {
"r": 160,
"g": 47,
"b": 196
},
"hsl": {
"h": 285.503,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.54229,
"c": 0.22553,
"h": 316.4
},
"luminance": 0.13492
}Semantic roles & 50–950 ramp
primary
#A02FC4
secondary
#94CD82
accent
#E4436A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83