#AE7AF2#AE7AF2
#AE7AF2 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.3% C 0.176 H 302.0°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AE7AF2 |
|---|---|
| RGB | rgb(174, 122, 242) |
| HSL | hsl(266, 82%, 71%) |
| HSV | hsv(266, 50%, 95%) |
| CMYK | cmyk(28.1%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(61.07, 43.86, -53.08) |
| CIE-LCH | lch(61.07, 68.85, 309.57°) |
| OKLab | oklab(68.25% 0.0931 -0.1492) |
| OKLCH | oklch(68.25% 0.176 302) |
| XYZ | xyz(40.4385, 29.3285, 87.5177) |
| Luminance | 0.2933 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.83
Light Purple
#BF77F6
ΔE00 3.19
Easter Purple
#C071FE
ΔE00 3.83
Mediumpurple
#9370DB
ΔE00 6.09
Liliac
#C48EFD
ΔE00 6.12
Bright Lavender
#C760FF
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AE7AF2 #BEF27A
analogous
#7A82F2 #AE7AF2 #EA7AF2
triadic
#AE7AF2 #F2AE7A #7AF2AE
tetradic
#AE7AF2 #F27A82 #BEF27A #7AF2EA
square
#AE7AF2 #F27A82 #BEF27A #7AF2EA
split-complementary
#AE7AF2 #F2EA7A #82F27A
monochromatic
#6C16DC #8C42ED #AE7AF2 #D0B2F7 #EEE3FC
Accessibility & contrast
On white
3.06
#AE7AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.87
#AE7AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AE7AF2
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AE7AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AE7AF2 | 1.00 | 3.06 | 6.87 | 6.87 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#6193EF
Tritanopia (blue-blind)
#A190AB
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #ae7af2; /* rgb */ color: rgb(174, 122, 242); /* oklch */ color: oklch(68.3% 0.176 302.0);
Tailwind
colors: {
custom: {
50: '#c9a2f7',
500: '#ae7af2',
950: '#000000',
},
}SCSS
$custom: #ae7af2; $custom-light: #c9a2f7; $custom-dark: #000000;
JSON
{
"hex": "#ae7af2",
"rgb": {
"r": 174,
"g": 122,
"b": 242
},
"hsl": {
"h": 266,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.68252,
"c": 0.17589,
"h": 302
},
"luminance": 0.29329
}Semantic roles & 50–950 ramp
primary
#AE7AF2
secondary
#E6F3D4
accent
#DF0781
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#130F17
muted
#827F85