#A64FB1#A64FB1
#A64FB1 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.4% C 0.169 H 323.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A64FB1 |
|---|---|
| RGB | rgb(166, 79, 177) |
| HSL | hsl(293, 39%, 50%) |
| HSV | hsv(293, 55%, 69%) |
| CMYK | cmyk(6.2%, 55.4%, 0%, 30.6%) |
| CIE-LAB | lab(48.10, 50.16, -36.72) |
| CIE-LCH | lch(48.10, 62.17, 323.79°) |
| OKLab | oklab(57.37% 0.1351 -0.1017) |
| OKLCH | oklch(57.37% 0.169 323) |
| XYZ | xyz(26.4569, 16.8746, 43.4500) |
| Luminance | 0.1687 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 4.06
Ugly Purple
#A442A0
ΔE00 4.14
Purply
#983FB2
ΔE00 5.30
Amethyst
#9B5FC0
ΔE00 5.41
Purpley Pink
#C83CB9
ΔE00 6.08
Deep Lavender
#8D5EB7
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A64FB1 #5AB14F
analogous
#754FB1 #A64FB1 #B14F8B
triadic
#A64FB1 #B1A64F #4FB1A6
tetradic
#A64FB1 #B1754F #5AB14F #4F8BB1
square
#A64FB1 #B1754F #5AB14F #4F8BB1
split-complementary
#A64FB1 #8BB14F #4FB175
monochromatic
#57295D #7F3C87 #A64FB1 #BB79C4 #D1A4D7
Accessibility & contrast
On white
4.80
#A64FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#A64FB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A64FB1
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A64FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A64FB1 | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6CB4
Deuteranopia (green-blind)
#5C76AE
Tritanopia (blue-blind)
#A95C78
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #a64fb1; /* rgb */ color: rgb(166, 79, 177); /* oklch */ color: oklch(57.4% 0.169 323.0);
Tailwind
colors: {
custom: {
50: '#c384c9',
500: '#a64fb1',
950: '#000000',
},
}SCSS
$custom: #a64fb1; $custom-light: #c384c9; $custom-dark: #000000;
JSON
{
"hex": "#a64fb1",
"rgb": {
"r": 166,
"g": 79,
"b": 177
},
"hsl": {
"h": 293.265,
"s": 38.583,
"l": 50.196
},
"oklch": {
"l": 0.57368,
"c": 0.16905,
"h": 323
},
"luminance": 0.16873
}Semantic roles & 50–950 ramp
primary
#A64FB1
secondary
#9DC498
accent
#CF5966
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82