#A642C4#A642C4
#A642C4 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.9% C 0.206 H 317.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A642C4 |
|---|---|
| RGB | rgb(166, 66, 196) |
| HSL | hsl(286, 52%, 51%) |
| HSV | hsv(286, 66%, 77%) |
| CMYK | cmyk(15.3%, 66.3%, 0%, 23.1%) |
| CIE-LAB | lab(46.96, 59.86, -49.60) |
| CIE-LCH | lch(46.96, 77.74, 320.35°) |
| OKLab | oklab(56.88% 0.1517 -0.1391) |
| OKLCH | oklch(56.88% 0.206 317.5) |
| XYZ | xyz(27.6365, 15.9901, 53.8445) |
| Luminance | 0.1599 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.76
Darkorchid
#9932CC
ΔE00 4.61
Barney
#AC1DB8
ΔE00 5.20
Medium Purple
#9E43A2
ΔE00 5.85
Vibrant Purple
#AD03DE
ΔE00 6.01
Ugly Purple
#A442A0
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A642C4 #60C442
analogous
#6542C4 #A642C4 #C442A1
triadic
#A642C4 #C4A642 #42C4A6
tetradic
#A642C4 #C46542 #60C442 #42A1C4
square
#A642C4 #C46542 #60C442 #42A1C4
split-complementary
#A642C4 #A1C442 #42C465
monochromatic
#5A216A #813099 #A642C4 #BC71D3 #D29FE1
Accessibility & contrast
On white
5.00
#A642C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#A642C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A642C4
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A642C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A642C4 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0869C8
Deuteranopia (green-blind)
#4672C1
Tritanopia (blue-blind)
#A55A7E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a642c4; /* rgb */ color: rgb(166, 66, 196); /* oklch */ color: oklch(56.9% 0.206 317.5);
Tailwind
colors: {
custom: {
50: '#c47ed6',
500: '#a642c4',
950: '#000000',
},
}SCSS
$custom: #a642c4; $custom-light: #c47ed6; $custom-dark: #000000;
JSON
{
"hex": "#a642c4",
"rgb": {
"r": 166,
"g": 66,
"b": 196
},
"hsl": {
"h": 286.154,
"s": 52.419,
"l": 51.373
},
"oklch": {
"l": 0.56878,
"c": 0.2058,
"h": 317.5
},
"luminance": 0.15989
}Semantic roles & 50–950 ramp
primary
#A642C4
secondary
#A1CE94
accent
#DC4C6D
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83