#A627A5#A627A5
#A627A5 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.211 H 328.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A627A5 |
|---|---|
| RGB | rgb(166, 39, 165) |
| HSL | hsl(300, 62%, 40%) |
| HSV | hsv(300, 77%, 65%) |
| CMYK | cmyk(0%, 76.5%, 0.6%, 34.9%) |
| CIE-LAB | lab(41.65, 64.17, -39.83) |
| CIE-LCH | lch(41.65, 75.53, 328.17°) |
| OKLab | oklab(52.49% 0.1796 -0.1104) |
| OKLCH | oklch(52.49% 0.211 328.4) |
| XYZ | xyz(23.2427, 12.2764, 36.7354) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.06
Barney Purple
#A00498
ΔE00 3.82
Warm Purple
#952E8F
ΔE00 4.25
Medium Purple
#9E43A2
ΔE00 4.26
Ugly Purple
#A442A0
ΔE00 4.42
Purply
#983FB2
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A627A5 #27A628
analogous
#6727A6 #A627A5 #A62766
triadic
#A627A5 #A5A627 #27A5A6
tetradic
#A627A5 #A66727 #27A628 #2766A6
square
#A627A5 #A66727 #27A628 #2766A6
split-complementary
#A627A5 #66A627 #27A667
monochromatic
#431042 #741B74 #A627A5 #D13ACF #DC6BDB
Accessibility & contrast
On white
6.08
#A627A5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#A627A5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A627A5
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A627A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A627A5 | 1.00 | 6.08 | 3.46 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0858A8
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#AC3C65
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a627a5; /* rgb */ color: rgb(166, 39, 165); /* oklch */ color: oklch(52.5% 0.211 328.4);
Tailwind
colors: {
custom: {
50: '#c470c0',
500: '#a627a5',
950: '#000000',
},
}SCSS
$custom: #a627a5; $custom-light: #c470c0; $custom-dark: #000000;
JSON
{
"hex": "#a627a5",
"rgb": {
"r": 166,
"g": 39,
"b": 165
},
"hsl": {
"h": 300.472,
"s": 61.951,
"l": 40.196
},
"oklch": {
"l": 0.52493,
"c": 0.21079,
"h": 328.4
},
"luminance": 0.12275
}Semantic roles & 50–950 ramp
primary
#A627A5
secondary
#66C367
accent
#E54443
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81