#AE6AF2#AE6AF2
#AE6AF2 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.8% C 0.200 H 304.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AE6AF2 |
|---|---|
| RGB | rgb(174, 106, 242) |
| HSL | hsl(270, 84%, 68%) |
| HSV | hsv(270, 56%, 95%) |
| CMYK | cmyk(28.1%, 56.2%, 0%, 5.1%) |
| CIE-LAB | lab(57.77, 52.41, -58.34) |
| CIE-LCH | lch(57.77, 78.43, 311.93°) |
| OKLab | oklab(65.81% 0.1134 -0.1646) |
| OKLCH | oklch(65.81% 0.2 304.6) |
| XYZ | xyz(38.6331, 25.7177, 86.9159) |
| Luminance | 0.2572 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.59
Easter Purple
#C071FE
ΔE00 3.80
Lighter Purple
#A55AF4
ΔE00 4.21
Bright Lavender
#C760FF
ΔE00 4.36
Light Purple
#BF77F6
ΔE00 4.49
Bright Lilac
#C95EFB
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AE6AF2 #AEF26A
analogous
#6A6AF2 #AE6AF2 #F26AF2
triadic
#AE6AF2 #F2AE6A #6AF2AE
tetradic
#AE6AF2 #F26A6A #AEF26A #6AF2F2
square
#AE6AF2 #F26A6A #AEF26A #6AF2F2
split-complementary
#AE6AF2 #F2F26A #6AF26A
monochromatic
#7112CF #8F32ED #AE6AF2 #CDA2F7 #EBDBFC
Accessibility & contrast
On white
3.42
#AE6AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#AE6AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AE6AF2
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AE6AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AE6AF2 | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3489F6
Deuteranopia (green-blind)
#4E8BEF
Tritanopia (blue-blind)
#A284A4
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #ae6af2; /* rgb */ color: rgb(174, 106, 242); /* oklch */ color: oklch(65.8% 0.200 304.6);
Tailwind
colors: {
custom: {
50: '#ca97f7',
500: '#ae6af2',
950: '#000000',
},
}SCSS
$custom: #ae6af2; $custom-light: #ca97f7; $custom-dark: #000000;
JSON
{
"hex": "#ae6af2",
"rgb": {
"r": 174,
"g": 106,
"b": 242
},
"hsl": {
"h": 270,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.65812,
"c": 0.19989,
"h": 304.6
},
"luminance": 0.25718
}Semantic roles & 50–950 ramp
primary
#AE6AF2
secondary
#DCF1C7
accent
#E00573
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85