#A640B3#A640B3
#A640B3 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.193 H 323.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A640B3 |
|---|---|
| RGB | rgb(166, 64, 179) |
| HSL | hsl(293, 47%, 48%) |
| HSV | hsv(293, 64%, 70%) |
| CMYK | cmyk(7.3%, 64.2%, 0%, 29.8%) |
| CIE-LAB | lab(45.68, 57.46, -41.74) |
| CIE-LCH | lch(45.68, 71.02, 324.01°) |
| OKLab | oklab(55.64% 0.1541 -0.1161) |
| OKLCH | oklch(55.64% 0.193 323) |
| XYZ | xyz(25.6952, 15.0299, 44.1867) |
| Luminance | 0.1503 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.95
Medium Purple
#9E43A2
ΔE00 3.07
Ugly Purple
#A442A0
ΔE00 3.56
Barney
#AC1DB8
ΔE00 4.29
Darkorchid
#9932CC
ΔE00 6.16
Purpley Pink
#C83CB9
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A640B3 #4DB340
analogous
#6C40B3 #A640B3 #B34087
triadic
#A640B3 #B3A640 #40B3A6
tetradic
#A640B3 #B36C40 #4DB340 #4087B3
square
#A640B3 #B36C40 #4DB340 #4087B3
split-complementary
#A640B3 #87B340 #40B36C
monochromatic
#522059 #7C3086 #A640B3 #BE67C9 #D194D9
Accessibility & contrast
On white
5.24
#A640B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#A640B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A640B3
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A640B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A640B3 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2664B6
Deuteranopia (green-blind)
#5170B0
Tritanopia (blue-blind)
#A95274
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a640b3; /* rgb */ color: rgb(166, 64, 179); /* oklch */ color: oklch(55.6% 0.193 323.0);
Tailwind
colors: {
custom: {
50: '#c37cca',
500: '#a640b3',
950: '#000000',
},
}SCSS
$custom: #a640b3; $custom-light: #c37cca; $custom-dark: #000000;
JSON
{
"hex": "#a640b3",
"rgb": {
"r": 166,
"g": 64,
"b": 179
},
"hsl": {
"h": 293.217,
"s": 47.325,
"l": 47.647
},
"oklch": {
"l": 0.55636,
"c": 0.19296,
"h": 323
},
"luminance": 0.15028
}Semantic roles & 50–950 ramp
primary
#A640B3
secondary
#91C48A
accent
#D75160
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82