#AE8CF2#AE8CF2
#AE8CF2 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.3% C 0.148 H 297.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AE8CF2 |
|---|---|
| RGB | rgb(174, 140, 242) |
| HSL | hsl(260, 80%, 75%) |
| HSV | hsv(260, 42%, 95%) |
| CMYK | cmyk(28.1%, 42.1%, 0%, 5.1%) |
| CIE-LAB | lab(65.09, 33.87, -46.71) |
| CIE-LCH | lch(65.09, 57.70, 305.95°) |
| OKLab | oklab(71.27% 0.0692 -0.1307) |
| OKLCH | oklch(71.27% 0.148 297.9) |
| XYZ | xyz(42.8569, 34.1653, 88.3239) |
| Luminance | 0.3417 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.16
Baby Purple
#CA9BF7
ΔE00 6.29
Light Purple
#BF77F6
ΔE00 6.51
Pastel Purple
#CAA0FF
ΔE00 6.57
Perrywinkle
#8F8CE7
ΔE00 6.64
Lavender (survey)
#C79FEF
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AE8CF2 #D0F28C
analogous
#8C9DF2 #AE8CF2 #E18CF2
triadic
#AE8CF2 #F2AE8C #8CF2AE
tetradic
#AE8CF2 #F28C9D #D0F28C #8CF2E1
square
#AE8CF2 #F28C9D #D0F28C #8CF2E1
split-complementary
#AE8CF2 #F2E18C #9DF28C
monochromatic
#611EE6 #8755EC #AE8CF2 #D5C3F8 #ECE4FC
Accessibility & contrast
On white
2.68
#AE8CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#AE8CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AE8CF2
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AE8CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AE8CF2 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#A09EB3
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #ae8cf2; /* rgb */ color: rgb(174, 140, 242); /* oklch */ color: oklch(71.3% 0.148 297.9);
Tailwind
colors: {
custom: {
50: '#c8aef7',
500: '#ae8cf2',
950: '#000000',
},
}SCSS
$custom: #ae8cf2; $custom-light: #c8aef7; $custom-dark: #000000;
JSON
{
"hex": "#ae8cf2",
"rgb": {
"r": 174,
"g": 140,
"b": 242
},
"hsl": {
"h": 260,
"s": 79.687,
"l": 74.902
},
"oklch": {
"l": 0.71268,
"c": 0.14793,
"h": 297.9
},
"luminance": 0.34166
}Semantic roles & 50–950 ramp
primary
#AE8CF2
secondary
#EAF4D7
accent
#DC0A96
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85