#A02FC1#A02FC1
#A02FC1 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.223 H 317.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A02FC1 |
|---|---|
| RGB | rgb(160, 47, 193) |
| HSL | hsl(286, 61%, 47%) |
| HSV | hsv(286, 76%, 76%) |
| CMYK | cmyk(17.1%, 75.6%, 0%, 24.3%) |
| CIE-LAB | lab(43.30, 65.35, -53.79) |
| CIE-LCH | lch(43.30, 84.64, 320.54°) |
| OKLab | oklab(54.03% 0.1637 -0.1514) |
| OKLCH | oklch(54.03% 0.223 317.2) |
| XYZ | xyz(25.1379, 13.3580, 51.6959) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.35
Barney
#AC1DB8
ΔE00 3.04
Purply
#983FB2
ΔE00 3.16
Vibrant Purple
#AD03DE
ΔE00 4.26
Darkviolet
#9400D3
ΔE00 5.50
Violet (survey)
#9A0EEA
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02FC1 #50C12F
analogous
#572FC1 #A02FC1 #C12F99
triadic
#A02FC1 #C1A02F #2FC1A0
tetradic
#A02FC1 #C1572F #50C12F #2F99C1
square
#A02FC1 #C1572F #50C12F #2F99C1
split-complementary
#A02FC1 #99C12F #2FC157
monochromatic
#4E175F #772390 #A02FC1 #B957D6 #CE88E2
Accessibility & contrast
On white
5.72
#A02FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#A02FC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02FC1
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02FC1 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#326ABE
Tritanopia (blue-blind)
#9E4F77
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #a02fc1; /* rgb */ color: rgb(160, 47, 193); /* oklch */ color: oklch(54.0% 0.223 317.2);
Tailwind
colors: {
custom: {
50: '#c074d4',
500: '#a02fc1',
950: '#000000',
},
}SCSS
$custom: #a02fc1; $custom-light: #c074d4; $custom-dark: #000000;
JSON
{
"hex": "#a02fc1",
"rgb": {
"r": 160,
"g": 47,
"b": 193
},
"hsl": {
"h": 286.438,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.54025,
"c": 0.22295,
"h": 317.2
},
"luminance": 0.13357
}Semantic roles & 50–950 ramp
primary
#A02FC1
secondary
#91CC80
accent
#E44468
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83