#A647C2#A647C2
#A647C2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.197 H 317.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A647C2 |
|---|---|
| RGB | rgb(166, 71, 194) |
| HSL | hsl(286, 50%, 52%) |
| HSV | hsv(286, 63%, 76%) |
| CMYK | cmyk(14.4%, 63.4%, 0%, 23.9%) |
| CIE-LAB | lab(47.64, 57.27, -47.37) |
| CIE-LCH | lch(47.64, 74.32, 320.41°) |
| OKLab | oklab(57.33% 0.146 -0.1326) |
| OKLCH | oklch(57.33% 0.197 317.8) |
| XYZ | xyz(27.7154, 16.5096, 52.7552) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.12
Darkorchid
#9932CC
ΔE00 5.53
Amethyst
#9B5FC0
ΔE00 5.63
Medium Purple
#9E43A2
ΔE00 5.68
Barney
#AC1DB8
ΔE00 5.95
Mediumorchid
#BA55D3
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A647C2 #63C247
analogous
#6847C2 #A647C2 #C247A1
triadic
#A647C2 #C2A647 #47C2A6
tetradic
#A647C2 #C26847 #63C247 #47A1C2
square
#A647C2 #C26847 #63C247 #47A1C2
split-complementary
#A647C2 #A1C247 #47C268
monochromatic
#5B246B #823399 #A647C2 #BC75D1 #D2A3E0
Accessibility & contrast
On white
4.88
#A647C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#A647C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A647C2
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A647C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A647C2 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F6BC6
Deuteranopia (green-blind)
#4C74BF
Tritanopia (blue-blind)
#A55D7E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #a647c2; /* rgb */ color: rgb(166, 71, 194); /* oklch */ color: oklch(57.3% 0.197 317.8);
Tailwind
colors: {
custom: {
50: '#c480d5',
500: '#a647c2',
950: '#000000',
},
}SCSS
$custom: #a647c2; $custom-light: #c480d5; $custom-dark: #000000;
JSON
{
"hex": "#a647c2",
"rgb": {
"r": 166,
"g": 71,
"b": 194
},
"hsl": {
"h": 286.341,
"s": 50.204,
"l": 51.961
},
"oklch": {
"l": 0.57327,
"c": 0.1972,
"h": 317.8
},
"luminance": 0.16509
}Semantic roles & 50–950 ramp
primary
#A647C2
secondary
#A4CD97
accent
#DA4E6E
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83