#AE47B2#AE47B2
#AE47B2 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.5% C 0.186 H 326.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AE47B2 |
|---|---|
| RGB | rgb(174, 71, 178) |
| HSL | hsl(298, 43%, 49%) |
| HSV | hsv(298, 60%, 70%) |
| CMYK | cmyk(2.2%, 60.1%, 0%, 30.2%) |
| CIE-LAB | lab(47.91, 56.22, -37.54) |
| CIE-LCH | lch(47.91, 67.60, 326.26°) |
| OKLab | oklab(57.48% 0.1549 -0.1038) |
| OKLCH | oklch(57.48% 0.186 326.2) |
| XYZ | xyz(27.7441, 16.7212, 43.8770) |
| Luminance | 0.1672 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.68
Medium Purple
#9E43A2
ΔE00 4.01
Purpley Pink
#C83CB9
ΔE00 4.58
Purply
#983FB2
ΔE00 5.44
Pinky Purple
#C94CBE
ΔE00 5.92
Barney
#AC1DB8
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AE47B2 #4BB247
analogous
#7947B2 #AE47B2 #B24781
triadic
#AE47B2 #B2AE47 #47B2AE
tetradic
#AE47B2 #B27947 #4BB247 #4781B2
square
#AE47B2 #B27947 #4BB247 #4781B2
split-complementary
#AE47B2 #81B247 #47B279
monochromatic
#58245B #833686 #AE47B2 #C370C6 #D59CD7
Accessibility & contrast
On white
4.83
#AE47B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#AE47B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AE47B2
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AE47B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AE47B2 | 1.00 | 4.83 | 4.34 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#5C76AF
Tritanopia (blue-blind)
#B25576
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ae47b2; /* rgb */ color: rgb(174, 71, 178); /* oklch */ color: oklch(57.5% 0.186 326.2);
Tailwind
colors: {
custom: {
50: '#c981c9',
500: '#ae47b2',
950: '#000000',
},
}SCSS
$custom: #ae47b2; $custom-light: #c981c9; $custom-dark: #000000;
JSON
{
"hex": "#ae47b2",
"rgb": {
"r": 174,
"g": 71,
"b": 178
},
"hsl": {
"h": 297.757,
"s": 42.972,
"l": 48.824
},
"oklch": {
"l": 0.57476,
"c": 0.18642,
"h": 326.2
},
"luminance": 0.16719
}Semantic roles & 50–950 ramp
primary
#AE47B2
secondary
#93C491
accent
#D3555A
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82