#AE42C5#AE42C5
#AE42C5 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.0% C 0.210 H 320.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AE42C5 |
|---|---|
| RGB | rgb(174, 66, 197) |
| HSL | hsl(289, 53%, 52%) |
| HSV | hsv(289, 66%, 77%) |
| CMYK | cmyk(11.7%, 66.5%, 0%, 22.7%) |
| CIE-LAB | lab(48.17, 61.87, -48.19) |
| CIE-LCH | lch(48.17, 78.42, 322.09°) |
| OKLab | oklab(58% 0.1612 -0.1347) |
| OKLCH | oklch(58% 0.21 320.1) |
| XYZ | xyz(29.4806, 16.9277, 54.5270) |
| Luminance | 0.1693 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.98
Mediumorchid
#BA55D3
ΔE00 5.51
Barney
#AC1DB8
ΔE00 5.62
Purpley Pink
#C83CB9
ΔE00 5.93
Darkorchid
#9932CC
ΔE00 5.99
Medium Purple
#9E43A2
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AE42C5 #59C542
analogous
#6D42C5 #AE42C5 #C5429A
triadic
#AE42C5 #C5AE42 #42C5AE
tetradic
#AE42C5 #C56D42 #59C542 #429AC5
square
#AE42C5 #C56D42 #59C542 #429AC5
split-complementary
#AE42C5 #9AC542 #42C56D
monochromatic
#5E216C #882F9A #AE42C5 #C271D3 #D6A0E2
Accessibility & contrast
On white
4.79
#AE42C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#AE42C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AE42C5
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AE42C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AE42C5 | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#156BC9
Deuteranopia (green-blind)
#4D76C2
Tritanopia (blue-blind)
#AF597E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ae42c5; /* rgb */ color: rgb(174, 66, 197); /* oklch */ color: oklch(58.0% 0.210 320.1);
Tailwind
colors: {
custom: {
50: '#ca7ed7',
500: '#ae42c5',
950: '#000000',
},
}SCSS
$custom: #ae42c5; $custom-light: #ca7ed7; $custom-dark: #000000;
JSON
{
"hex": "#ae42c5",
"rgb": {
"r": 174,
"g": 66,
"b": 197
},
"hsl": {
"h": 289.466,
"s": 53.036,
"l": 51.569
},
"oklch": {
"l": 0.58,
"c": 0.2101,
"h": 320.1
},
"luminance": 0.16926
}Semantic roles & 50–950 ramp
primary
#AE42C5
secondary
#9FCE95
accent
#DC4B65
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83