#A02FC3#A02FC3
#A02FC3 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.2% C 0.225 H 316.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A02FC3 |
|---|---|
| RGB | rgb(160, 47, 195) |
| HSL | hsl(286, 61%, 47%) |
| HSV | hsv(286, 76%, 76%) |
| CMYK | cmyk(17.9%, 75.9%, 0%, 23.5%) |
| CIE-LAB | lab(43.43, 65.74, -54.74) |
| CIE-LCH | lch(43.43, 85.54, 320.21°) |
| OKLab | oklab(54.16% 0.1634 -0.1542) |
| OKLCH | oklch(54.16% 0.225 316.7) |
| XYZ | xyz(25.3626, 13.4478, 52.8789) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.08
Barney
#AC1DB8
ΔE00 3.27
Purply
#983FB2
ΔE00 3.35
Vibrant Purple
#AD03DE
ΔE00 4.03
Darkviolet
#9400D3
ΔE00 5.36
Violet (survey)
#9A0EEA
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02FC3 #52C32F
analogous
#562FC3 #A02FC3 #C32F9C
triadic
#A02FC3 #C3A02F #2FC3A0
tetradic
#A02FC3 #C3562F #52C32F #2F9CC3
square
#A02FC3 #C3562F #52C32F #2F9CC3
split-complementary
#A02FC3 #9CC32F #2FC356
monochromatic
#4F1760 #782392 #A02FC3 #B958D7 #CE8AE3
Accessibility & contrast
On white
5.69
#A02FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#A02FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02FC3
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02FC3 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#306AC0
Tritanopia (blue-blind)
#9E5078
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a02fc3; /* rgb */ color: rgb(160, 47, 195); /* oklch */ color: oklch(54.2% 0.225 316.7);
Tailwind
colors: {
custom: {
50: '#c074d6',
500: '#a02fc3',
950: '#000000',
},
}SCSS
$custom: #a02fc3; $custom-light: #c074d6; $custom-dark: #000000;
JSON
{
"hex": "#a02fc3",
"rgb": {
"r": 160,
"g": 47,
"b": 195
},
"hsl": {
"h": 285.811,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.54161,
"c": 0.22467,
"h": 316.7
},
"luminance": 0.13447
}Semantic roles & 50–950 ramp
primary
#A02FC3
secondary
#93CD81
accent
#E4446A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83