#A627A9#A627A9
#A627A9 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.214 H 327.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A627A9 |
|---|---|
| RGB | rgb(166, 39, 169) |
| HSL | hsl(299, 63%, 41%) |
| HSV | hsv(299, 77%, 66%) |
| CMYK | cmyk(1.8%, 76.9%, 0%, 33.7%) |
| CIE-LAB | lab(41.88, 64.83, -41.85) |
| CIE-LCH | lch(41.88, 77.16, 327.15°) |
| OKLab | oklab(52.73% 0.1795 -0.1163) |
| OKLCH | oklch(52.73% 0.214 327.1) |
| XYZ | xyz(23.6125, 12.4243, 38.6829) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.41
Barney Purple
#A00498
ΔE00 4.19
Purply
#983FB2
ΔE00 4.36
Medium Purple
#9E43A2
ΔE00 4.36
Ugly Purple
#A442A0
ΔE00 4.66
Warm Purple
#952E8F
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A627A9 #2AA927
analogous
#6527A9 #A627A9 #A9276B
triadic
#A627A9 #A9A627 #27A9A6
tetradic
#A627A9 #A96527 #2AA927 #276BA9
square
#A627A9 #A96527 #2AA927 #276BA9
split-complementary
#A627A9 #6BA927 #27A965
monochromatic
#441046 #751C77 #A627A9 #CE3BD2 #DB6DDD
Accessibility & contrast
On white
6.03
#A627A9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#A627A9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A627A9
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A627A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A627A9 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4968A6
Tritanopia (blue-blind)
#AB3E67
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #a627a9; /* rgb */ color: rgb(166, 39, 169); /* oklch */ color: oklch(52.7% 0.214 327.1);
Tailwind
colors: {
custom: {
50: '#c470c3',
500: '#a627a9',
950: '#000000',
},
}SCSS
$custom: #a627a9; $custom-light: #c470c3; $custom-dark: #000000;
JSON
{
"hex": "#a627a9",
"rgb": {
"r": 166,
"g": 39,
"b": 169
},
"hsl": {
"h": 298.615,
"s": 62.5,
"l": 40.784
},
"oklch": {
"l": 0.52732,
"c": 0.21383,
"h": 327.1
},
"luminance": 0.12423
}Semantic roles & 50–950 ramp
primary
#A627A9
secondary
#6AC468
accent
#E64246
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81