#A02FD2#A02FD2
#A02FD2 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.2% C 0.238 H 312.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A02FD2 |
|---|---|
| RGB | rgb(160, 47, 210) |
| HSL | hsl(282, 64%, 50%) |
| HSV | hsv(282, 78%, 82%) |
| CMYK | cmyk(23.8%, 77.6%, 0%, 17.6%) |
| CIE-LAB | lab(44.46, 68.66, -61.76) |
| CIE-LCH | lch(44.46, 92.35, 318.03°) |
| OKLab | oklab(55.22% 0.1609 -0.1748) |
| OKLCH | oklch(55.22% 0.238 312.6) |
| XYZ | xyz(27.1445, 14.1606, 62.2636) |
| Luminance | 0.1416 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.33
Vibrant Purple
#AD03DE
ΔE00 2.78
Violet (survey)
#9A0EEA
ΔE00 4.20
Blueviolet
#8A2BE2
ΔE00 4.78
Darkviolet
#9400D3
ΔE00 4.94
Purply
#983FB2
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02FD2 #61D22F
analogous
#4E2FD2 #A02FD2 #D22FB3
triadic
#A02FD2 #D2A02F #2FD2A0
tetradic
#A02FD2 #D24E2F #61D22F #2FB3D2
square
#A02FD2 #D24E2F #61D22F #2FB3D2
split-complementary
#A02FD2 #B3D22F #2FD24E
monochromatic
#54186F #7A23A1 #A02FD2 #B761DD #CE94E8
Accessibility & contrast
On white
5.48
#A02FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#A02FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02FD2
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02FD2 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#136BCF
Tritanopia (blue-blind)
#9A5680
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #a02fd2; /* rgb */ color: rgb(160, 47, 210); /* oklch */ color: oklch(55.2% 0.238 312.6);
Tailwind
colors: {
custom: {
50: '#c175e1',
500: '#a02fd2',
950: '#000000',
},
}SCSS
$custom: #a02fd2; $custom-light: #c175e1; $custom-dark: #000000;
JSON
{
"hex": "#a02fd2",
"rgb": {
"r": 160,
"g": 47,
"b": 210
},
"hsl": {
"h": 281.595,
"s": 64.427,
"l": 50.392
},
"oklch": {
"l": 0.55215,
"c": 0.23761,
"h": 312.6
},
"luminance": 0.1416
}Semantic roles & 50–950 ramp
primary
#A02FD2
secondary
#A0D38A
accent
#E74074
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83