#A64DC7#A64DC7
#A64DC7 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.4% C 0.194 H 315.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A64DC7 |
|---|---|
| RGB | rgb(166, 77, 199) |
| HSL | hsl(284, 52%, 54%) |
| HSV | hsv(284, 61%, 78%) |
| CMYK | cmyk(16.6%, 61.3%, 0%, 22%) |
| CIE-LAB | lab(48.93, 55.51, -48.19) |
| CIE-LCH | lch(48.93, 73.51, 319.04°) |
| OKLab | oklab(58.36% 0.1388 -0.135) |
| OKLCH | oklch(58.36% 0.194 315.8) |
| XYZ | xyz(28.6870, 17.5393, 55.8960) |
| Luminance | 0.1754 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.50
Mediumorchid
#BA55D3
ΔE00 4.90
Lightish Purple
#A552E6
ΔE00 5.15
Purply
#983FB2
ΔE00 5.43
Deep Lavender
#8D5EB7
ΔE00 6.19
Darkorchid
#9932CC
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A64DC7 #6EC74D
analogous
#694DC7 #A64DC7 #C74DAB
triadic
#A64DC7 #C7A64D #4DC7A6
tetradic
#A64DC7 #C7694D #6EC74D #4DABC7
square
#A64DC7 #C7694D #6EC74D #4DABC7
split-complementary
#A64DC7 #ABC74D #4DC769
monochromatic
#5F2575 #8533A3 #A64DC7 #BD7CD6 #D5AAE4
Accessibility & contrast
On white
4.66
#A64DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#A64DC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A64DC7
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A64DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A64DC7 | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#266FCB
Deuteranopia (green-blind)
#4D77C4
Tritanopia (blue-blind)
#A46383
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a64dc7; /* rgb */ color: rgb(166, 77, 199); /* oklch */ color: oklch(58.4% 0.194 315.8);
Tailwind
colors: {
custom: {
50: '#c384d8',
500: '#a64dc7',
950: '#000000',
},
}SCSS
$custom: #a64dc7; $custom-light: #c384d8; $custom-dark: #000000;
JSON
{
"hex": "#a64dc7",
"rgb": {
"r": 166,
"g": 77,
"b": 199
},
"hsl": {
"h": 283.77,
"s": 52.137,
"l": 54.118
},
"oklch": {
"l": 0.58359,
"c": 0.19362,
"h": 315.8
},
"luminance": 0.17538
}Semantic roles & 50–950 ramp
primary
#A64DC7
secondary
#ACD29E
accent
#DC4C73
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83