#A827A0#A827A0
#A827A0 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.208 H 330.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A827A0 |
|---|---|
| RGB | rgb(168, 39, 160) |
| HSL | hsl(304, 62%, 41%) |
| HSV | hsv(304, 77%, 66%) |
| CMYK | cmyk(0%, 76.8%, 4.8%, 34.1%) |
| CIE-LAB | lab(41.71, 63.80, -36.72) |
| CIE-LCH | lch(41.71, 73.61, 330.08°) |
| OKLab | oklab(52.51% 0.1817 -0.1013) |
| OKLCH | oklch(52.51% 0.208 330.9) |
| XYZ | xyz(23.2191, 12.3158, 34.4052) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.79
Warm Purple
#952E8F
ΔE00 3.91
Barney
#AC1DB8
ΔE00 4.00
Ugly Purple
#A442A0
ΔE00 4.11
Medium Purple
#9E43A2
ΔE00 4.26
Purply
#983FB2
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A827A0 #27A82F
analogous
#6F27A8 #A827A0 #A8275F
triadic
#A827A0 #A0A827 #27A0A8
tetradic
#A827A0 #A86F27 #27A82F #275FA8
square
#A827A0 #A86F27 #27A82F #275FA8
split-complementary
#A827A0 #5FA827 #27A86F
monochromatic
#451041 #761B71 #A827A0 #D13BC8 #DD6CD6
Accessibility & contrast
On white
6.06
#A827A0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#A827A0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A827A0
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A827A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A827A0 | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1857A3
Deuteranopia (green-blind)
#50699D
Tritanopia (blue-blind)
#AF3862
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a827a0; /* rgb */ color: rgb(168, 39, 160); /* oklch */ color: oklch(52.5% 0.208 330.9);
Tailwind
colors: {
custom: {
50: '#c670bc',
500: '#a827a0',
950: '#000000',
},
}SCSS
$custom: #a827a0; $custom-light: #c670bc; $custom-dark: #000000;
JSON
{
"hex": "#a827a0",
"rgb": {
"r": 168,
"g": 39,
"b": 160
},
"hsl": {
"h": 303.721,
"s": 62.319,
"l": 40.588
},
"oklch": {
"l": 0.52512,
"c": 0.20802,
"h": 330.9
},
"luminance": 0.12314
}Semantic roles & 50–950 ramp
primary
#A827A0
secondary
#67C36D
accent
#E54D42
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81