#AE7EF2#AE7EF2
#AE7EF2 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.9% C 0.170 H 301.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #AE7EF2 |
|---|---|
| RGB | rgb(174, 126, 242) |
| HSL | hsl(265, 82%, 72%) |
| HSV | hsv(265, 48%, 95%) |
| CMYK | cmyk(28.1%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(61.94, 41.66, -51.70) |
| CIE-LCH | lch(61.94, 66.39, 308.87°) |
| OKLab | oklab(68.9% 0.0879 -0.1452) |
| OKLCH | oklch(68.9% 0.17 301.2) |
| XYZ | xyz(40.9398, 30.3311, 87.6848) |
| Luminance | 0.3033 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.60
Light Urple
#B36FF6
ΔE00 3.83
Easter Purple
#C071FE
ΔE00 4.48
Liliac
#C48EFD
ΔE00 5.38
Mediumpurple
#9370DB
ΔE00 6.55
Periwinkle (survey)
#8E82FE
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AE7EF2 #C2F27E
analogous
#7E88F2 #AE7EF2 #E87EF2
triadic
#AE7EF2 #F2AE7E #7EF2AE
tetradic
#AE7EF2 #F27E88 #C2F27E #7EF2E8
square
#AE7EF2 #F27E88 #C2F27E #7EF2E8
split-complementary
#AE7EF2 #F2E87E #88F27E
monochromatic
#6A16DF #8B46EC #AE7EF2 #D1B6F8 #EEE3FC
Accessibility & contrast
On white
2.97
#AE7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#AE7EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AE7EF2
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AE7EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AE7EF2 | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#6695EF
Tritanopia (blue-blind)
#A193AD
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #ae7ef2; /* rgb */ color: rgb(174, 126, 242); /* oklch */ color: oklch(68.9% 0.170 301.2);
Tailwind
colors: {
custom: {
50: '#c9a4f7',
500: '#ae7ef2',
950: '#000000',
},
}SCSS
$custom: #ae7ef2; $custom-light: #c9a4f7; $custom-dark: #000000;
JSON
{
"hex": "#ae7ef2",
"rgb": {
"r": 174,
"g": 126,
"b": 242
},
"hsl": {
"h": 264.828,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.68899,
"c": 0.16973,
"h": 301.2
},
"luminance": 0.30331
}Semantic roles & 50–950 ramp
primary
#AE7EF2
secondary
#E8F4D7
accent
#DE0785
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85