#A628A0#A628A0
#A628A0 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.206 H 330.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A628A0 |
|---|---|
| RGB | rgb(166, 40, 160) |
| HSL | hsl(303, 61%, 40%) |
| HSV | hsv(303, 76%, 65%) |
| CMYK | cmyk(0%, 75.9%, 3.6%, 34.9%) |
| CIE-LAB | lab(41.48, 63.06, -37.11) |
| CIE-LCH | lch(41.48, 73.18, 329.52°) |
| OKLab | oklab(52.28% 0.1788 -0.1025) |
| OKLCH | oklch(52.28% 0.206 330.2) |
| XYZ | xyz(22.8297, 12.1644, 34.3965) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.63
Warm Purple
#952E8F
ΔE00 3.68
Barney
#AC1DB8
ΔE00 3.94
Ugly Purple
#A442A0
ΔE00 4.14
Medium Purple
#9E43A2
ΔE00 4.17
Purply
#983FB2
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A628A0 #28A62E
analogous
#6D28A6 #A628A0 #A62861
triadic
#A628A0 #A0A628 #28A0A6
tetradic
#A628A0 #A66D28 #28A62E #2861A6
square
#A628A0 #A66D28 #28A62E #2861A6
split-complementary
#A628A0 #61A628 #28A66D
monochromatic
#431041 #751C70 #A628A0 #D03BC9 #DC6DD6
Accessibility & contrast
On white
6.12
#A628A0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#A628A0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A628A0
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A628A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A628A0 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1757A3
Deuteranopia (green-blind)
#4F689D
Tritanopia (blue-blind)
#AC3A62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a628a0; /* rgb */ color: rgb(166, 40, 160); /* oklch */ color: oklch(52.3% 0.206 330.2);
Tailwind
colors: {
custom: {
50: '#c470bc',
500: '#a628a0',
950: '#000000',
},
}SCSS
$custom: #a628a0; $custom-light: #c470bc; $custom-dark: #000000;
JSON
{
"hex": "#a628a0",
"rgb": {
"r": 166,
"g": 40,
"b": 160
},
"hsl": {
"h": 302.857,
"s": 61.165,
"l": 40.392
},
"oklch": {
"l": 0.52277,
"c": 0.20605,
"h": 330.2
},
"luminance": 0.12163
}Semantic roles & 50–950 ramp
primary
#A628A0
secondary
#67C26C
accent
#E44B44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81