#AE51E6#AE51E6
#AE51E6 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.8% C 0.222 H 310.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AE51E6 |
|---|---|
| RGB | rgb(174, 81, 230) |
| HSL | hsl(277, 75%, 61%) |
| HSV | hsv(277, 65%, 90%) |
| CMYK | cmyk(24.3%, 64.8%, 0%, 9.8%) |
| CIE-LAB | lab(52.51, 62.00, -60.07) |
| CIE-LCH | lch(52.51, 86.32, 315.90°) |
| OKLab | oklab(61.76% 0.1431 -0.1696) |
| OKLCH | oklch(61.76% 0.222 310.2) |
| XYZ | xyz(34.6782, 20.5974, 76.9965) |
| Luminance | 0.2060 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.65
Lighter Purple
#A55AF4
ΔE00 3.32
Mediumorchid
#BA55D3
ΔE00 4.40
Neon Purple
#BC13FE
ΔE00 6.21
Hot Purple
#CB00F5
ΔE00 6.44
Bright Lilac
#C95EFB
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AE51E6 #89E651
analogous
#6351E6 #AE51E6 #E651D3
triadic
#AE51E6 #E6AE51 #51E6AE
tetradic
#AE51E6 #E66351 #89E651 #51D3E6
square
#AE51E6 #E66351 #89E651 #51D3E6
split-complementary
#AE51E6 #D3E651 #51E663
monochromatic
#7018A5 #941FDA #AE51E6 #C787EE #E0BCF5
Accessibility & contrast
On white
4.10
#AE51E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#AE51E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AE51E6
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AE51E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AE51E6 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#3C7FE3
Tritanopia (blue-blind)
#A66F95
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #ae51e6; /* rgb */ color: rgb(174, 81, 230); /* oklch */ color: oklch(61.8% 0.222 310.2);
Tailwind
colors: {
custom: {
50: '#ca88ef',
500: '#ae51e6',
950: '#000000',
},
}SCSS
$custom: #ae51e6; $custom-light: #ca88ef; $custom-dark: #000000;
JSON
{
"hex": "#ae51e6",
"rgb": {
"r": 174,
"g": 81,
"b": 230
},
"hsl": {
"h": 277.45,
"s": 74.874,
"l": 60.98
},
"oklch": {
"l": 0.61758,
"c": 0.2219,
"h": 310.2
},
"luminance": 0.20597
}Semantic roles & 50–950 ramp
primary
#AE51E6
secondary
#C2E5AD
accent
#D70E5A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84