#A647B2#A647B2
#A647B2 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.4% C 0.182 H 323.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A647B2 |
|---|---|
| RGB | rgb(166, 71, 178) |
| HSL | hsl(293, 43%, 49%) |
| HSV | hsv(293, 60%, 70%) |
| CMYK | cmyk(6.7%, 60.1%, 0%, 30.2%) |
| CIE-LAB | lab(46.75, 54.16, -39.45) |
| CIE-LCH | lch(46.75, 67.00, 323.93°) |
| OKLab | oklab(56.4% 0.1456 -0.1095) |
| OKLCH | oklch(56.4% 0.182 323) |
| XYZ | xyz(26.0142, 15.8292, 43.7959) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.15
Ugly Purple
#A442A0
ΔE00 3.47
Purply
#983FB2
ΔE00 3.83
Barney
#AC1DB8
ΔE00 5.68
Purpley Pink
#C83CB9
ΔE00 6.18
Amethyst
#9B5FC0
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A647B2 #53B247
analogous
#7147B2 #A647B2 #B24789
triadic
#A647B2 #B2A647 #47B2A6
tetradic
#A647B2 #B27147 #53B247 #4789B2
square
#A647B2 #B27147 #53B247 #4789B2
split-complementary
#A647B2 #89B247 #47B271
monochromatic
#54245B #7D3686 #A647B2 #BC70C6 #D19CD7
Accessibility & contrast
On white
5.04
#A647B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#A647B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A647B2
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A647B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A647B2 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3368B5
Deuteranopia (green-blind)
#5673AF
Tritanopia (blue-blind)
#A95776
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a647b2; /* rgb */ color: rgb(166, 71, 178); /* oklch */ color: oklch(56.4% 0.182 323.0);
Tailwind
colors: {
custom: {
50: '#c380c9',
500: '#a647b2',
950: '#000000',
},
}SCSS
$custom: #a647b2; $custom-light: #c380c9; $custom-dark: #000000;
JSON
{
"hex": "#a647b2",
"rgb": {
"r": 166,
"g": 71,
"b": 178
},
"hsl": {
"h": 293.271,
"s": 42.972,
"l": 48.824
},
"oklch": {
"l": 0.56397,
"c": 0.18216,
"h": 323
},
"luminance": 0.15828
}Semantic roles & 50–950 ramp
primary
#A647B2
secondary
#97C491
accent
#D35563
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82