#AE87E1#AE87E1
#AE87E1 is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.5% C 0.134 H 303.0°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AE87E1 |
|---|---|
| RGB | rgb(174, 135, 225) |
| HSL | hsl(266, 60%, 71%) |
| HSV | hsv(266, 40%, 88%) |
| CMYK | cmyk(22.7%, 40%, 0%, 11.8%) |
| CIE-LAB | lab(63.15, 32.63, -40.37) |
| CIE-LCH | lch(63.15, 51.91, 308.95°) |
| OKLab | oklab(69.54% 0.0731 -0.1123) |
| OKLCH | oklch(69.54% 0.134 303) |
| XYZ | xyz(39.7072, 31.7629, 75.2585) |
| Luminance | 0.3176 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 5.07
Liliac
#C48EFD
ΔE00 5.18
Wisteria
#A87DC2
ΔE00 6.03
Light Purple
#BF77F6
ΔE00 6.09
Baby Purple
#CA9BF7
ΔE00 6.71
Lavender
#B39DDB
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AE87E1 #BAE187
analogous
#878DE1 #AE87E1 #DB87E1
triadic
#AE87E1 #E1AE87 #87E1AE
tetradic
#AE87E1 #E1878D #BAE187 #87E1DB
square
#AE87E1 #E1878D #BAE187 #87E1DB
split-complementary
#AE87E1 #E1DB87 #8DE187
monochromatic
#6D30BE #8D56D5 #AE87E1 #CFB8ED #EEE7F9
Accessibility & contrast
On white
2.86
#AE87E1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#AE87E1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AE87E1
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AE87E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AE87E1 | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7198E4
Deuteranopia (green-blind)
#7999DF
Tritanopia (blue-blind)
#A596A9
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #ae87e1; /* rgb */ color: rgb(174, 135, 225); /* oklch */ color: oklch(69.5% 0.134 303.0);
Tailwind
colors: {
custom: {
50: '#c8aaeb',
500: '#ae87e1',
950: '#000000',
},
}SCSS
$custom: #ae87e1; $custom-light: #c8aaeb; $custom-dark: #000000;
JSON
{
"hex": "#ae87e1",
"rgb": {
"r": 174,
"g": 135,
"b": 225
},
"hsl": {
"h": 266,
"s": 60,
"l": 70.588
},
"oklch": {
"l": 0.69539,
"c": 0.13403,
"h": 303
},
"luminance": 0.31763
}Semantic roles & 50–950 ramp
primary
#AE87E1
secondary
#E4EED6
accent
#C81E7E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84