#A427A2#A427A2
#A427A2 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.208 H 328.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A427A2 |
|---|---|
| RGB | rgb(164, 39, 162) |
| HSL | hsl(301, 62%, 40%) |
| HSV | hsv(301, 76%, 64%) |
| CMYK | cmyk(0%, 76.2%, 1.2%, 35.7%) |
| CIE-LAB | lab(41.14, 63.26, -38.87) |
| CIE-LCH | lch(41.14, 74.24, 328.43°) |
| OKLab | oklab(52.01% 0.1775 -0.1076) |
| OKLCH | oklch(52.01% 0.208 328.8) |
| XYZ | xyz(22.5567, 11.9539, 35.2947) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.41
Barney
#AC1DB8
ΔE00 3.55
Warm Purple
#952E8F
ΔE00 3.71
Medium Purple
#9E43A2
ΔE00 4.33
Ugly Purple
#A442A0
ΔE00 4.51
Purply
#983FB2
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A427A2 #27A429
analogous
#6827A4 #A427A2 #A42764
triadic
#A427A2 #A2A427 #27A2A4
tetradic
#A427A2 #A46827 #27A429 #2764A4
square
#A427A2 #A46827 #27A429 #2764A4
split-complementary
#A427A2 #64A427 #27A468
monochromatic
#410F40 #731B71 #A427A2 #D038CD #DC6ADA
Accessibility & contrast
On white
6.19
#A427A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#A427A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A427A2
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A427A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A427A2 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D57A5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#AA3B63
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a427a2; /* rgb */ color: rgb(164, 39, 162); /* oklch */ color: oklch(52.0% 0.208 328.8);
Tailwind
colors: {
custom: {
50: '#c370be',
500: '#a427a2',
950: '#000000',
},
}SCSS
$custom: #a427a2; $custom-light: #c370be; $custom-dark: #000000;
JSON
{
"hex": "#a427a2",
"rgb": {
"r": 164,
"g": 39,
"b": 162
},
"hsl": {
"h": 300.96,
"s": 61.576,
"l": 39.804
},
"oklch": {
"l": 0.5201,
"c": 0.20758,
"h": 328.8
},
"luminance": 0.11952
}Semantic roles & 50–950 ramp
primary
#A427A2
secondary
#65C267
accent
#E54643
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81