#AE87E2#AE87E2
#AE87E2 is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.6% C 0.135 H 302.8°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AE87E2 |
|---|---|
| RGB | rgb(174, 135, 226) |
| HSL | hsl(266, 61%, 71%) |
| HSV | hsv(266, 40%, 89%) |
| CMYK | cmyk(23%, 40.3%, 0%, 11.4%) |
| CIE-LAB | lab(63.19, 32.86, -40.86) |
| CIE-LCH | lch(63.19, 52.43, 308.81°) |
| OKLab | oklab(69.59% 0.0733 -0.1137) |
| OKLCH | oklch(69.59% 0.135 302.8) |
| XYZ | xyz(39.8441, 31.8176, 75.9791) |
| Luminance | 0.3182 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.08
Pale Purple
#B790D4
ΔE00 5.22
Light Purple
#BF77F6
ΔE00 6.00
Wisteria
#A87DC2
ΔE00 6.20
Baby Purple
#CA9BF7
ΔE00 6.69
Light Urple
#B36FF6
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AE87E2 #BBE287
analogous
#878DE2 #AE87E2 #DB87E2
triadic
#AE87E2 #E2AE87 #87E2AE
tetradic
#AE87E2 #E2878D #BBE287 #87E2DB
square
#AE87E2 #E2878D #BBE287 #87E2DB
split-complementary
#AE87E2 #E2DB87 #8DE287
monochromatic
#6D2EC0 #8D56D6 #AE87E2 #CFB8EE #EEE6F9
Accessibility & contrast
On white
2.85
#AE87E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#AE87E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AE87E2
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AE87E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AE87E2 | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7198E5
Deuteranopia (green-blind)
#7999E0
Tritanopia (blue-blind)
#A596AA
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #ae87e2; /* rgb */ color: rgb(174, 135, 226); /* oklch */ color: oklch(69.6% 0.135 302.8);
Tailwind
colors: {
custom: {
50: '#c8aaeb',
500: '#ae87e2',
950: '#000000',
},
}SCSS
$custom: #ae87e2; $custom-light: #c8aaeb; $custom-dark: #000000;
JSON
{
"hex": "#ae87e2",
"rgb": {
"r": 174,
"g": 135,
"b": 226
},
"hsl": {
"h": 265.714,
"s": 61.074,
"l": 70.784
},
"oklch": {
"l": 0.69588,
"c": 0.13531,
"h": 302.8
},
"luminance": 0.31818
}Semantic roles & 50–950 ramp
primary
#AE87E2
secondary
#E4EFD6
accent
#C91D7F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84