Skip to content

#ae7df0

a light, electric violet · warm · closest name: slateblue

RGB
174, 125, 240
HSL
266°, 79%, 72%
CMYK
28, 48, 0, 6
Luminance
0.2996

Every format

HEX#ae7df0
RGBrgb(174, 125, 240)
HSLhsl(266, 79%, 72%)
CMYKcmyk(28%, 48%, 0%, 6%)
LABlab(61.6 41.7 -51.1)
LCHlch(61.6 66.0 309.2)
OKLCHoklch(0.686 0.169 301.8)

Copy-ready code

/* CSS */
color: #ae7df0;
background-color: #ae7df0;
/* Tailwind (arbitrary) */
class="text-[#ae7df0] bg-[#ae7df0]"
/* SCSS */
$brand: #ae7df0;
/* SwiftUI */
Color(red: 0.682, green: 0.490, blue: 0.941)
/* Android */
Color.parseColor("#ae7df0")

Accessibility — WCAG contrast

Aa
#ae7df0 on white: 3.00:1
AA ✗ fail · AA-large · AAA
Aa
#ae7df0 on black: 6.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green49.0%
Blue94.1%

CMYK percentages

Cyan27.5%
Magenta47.9%
Yellow0.0%
Key (black)5.9%

Color previews

#ae7df0 text on a black background

contrast 6.99:1

Card sample

#ae7df0 text on a white background

contrast 3.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ae7df0;
Background color
Panel with #ae7df0 background
background-color: #ae7df0;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ae7df0;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(174, 125, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 125, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ae7df0;
background: linear-gradient(135deg, #ae7df0, #F07DE5);

Monochromatic scale

Palettes built from #ae7df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae7df0 in the Color Lab