#A640AA#A640AA
#A640AA is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.185 H 326.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #A640AA |
|---|---|
| RGB | rgb(166, 64, 170) |
| HSL | hsl(298, 45%, 46%) |
| HSV | hsv(298, 62%, 67%) |
| CMYK | cmyk(2.4%, 62.4%, 0%, 33.3%) |
| CIE-LAB | lab(45.19, 55.82, -37.20) |
| CIE-LCH | lch(45.19, 67.08, 326.32°) |
| OKLab | oklab(55.13% 0.1538 -0.1029) |
| OKLCH | oklch(55.13% 0.185 326.2) |
| XYZ | xyz(24.8145, 14.6776, 39.5485) |
| Luminance | 0.1468 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.80
Ugly Purple
#A442A0
ΔE00 1.92
Purply
#983FB2
ΔE00 3.79
Barney
#AC1DB8
ΔE00 4.84
Warm Purple
#952E8F
ΔE00 6.43
Purpley Pink
#C83CB9
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A640AA #44AA40
analogous
#7140AA #A640AA #AA4079
triadic
#A640AA #AAA640 #40AAA6
tetradic
#A640AA #AA7140 #44AA40 #4079AA
square
#A640AA #AA7140 #44AA40 #4079AA
split-complementary
#A640AA #79AA40 #40AA71
monochromatic
#4F1F51 #7B2F7E #A640AA #C163C4 #D28FD5
Accessibility & contrast
On white
5.34
#A640AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#A640AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A640AA
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A640AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A640AA | 1.00 | 5.34 | 3.94 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#566FA7
Tritanopia (blue-blind)
#AA4E6F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #a640aa; /* rgb */ color: rgb(166, 64, 170); /* oklch */ color: oklch(55.1% 0.185 326.2);
Tailwind
colors: {
custom: {
50: '#c37cc4',
500: '#a640aa',
950: '#000000',
},
}SCSS
$custom: #a640aa; $custom-light: #c37cc4; $custom-dark: #000000;
JSON
{
"hex": "#a640aa",
"rgb": {
"r": 166,
"g": 64,
"b": 170
},
"hsl": {
"h": 297.736,
"s": 45.299,
"l": 45.882
},
"oklch": {
"l": 0.55127,
"c": 0.18502,
"h": 326.2
},
"luminance": 0.14676
}Semantic roles & 50–950 ramp
primary
#A640AA
secondary
#88C086
accent
#D55358
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A12
muted
#827C81