Skip to content

#ae6dfd

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

RGB
174, 109, 253
HSL
267°, 97%, 71%
CMYK
31, 57, 0, 1
Luminance
0.2703

Every format

HEX#ae6dfd
RGBrgb(174, 109, 253)
HSLhsl(267, 97%, 71%)
CMYKcmyk(31%, 57%, 0%, 1%)
LABlab(59.0 53.4 -62.5)
LCHlch(59.0 82.2 310.5)
OKLCHoklch(0.669 0.208 301.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae6dfd on white: 3.28:1
AA ✗ fail · AA-large · AAA
Aa
#ae6dfd on black: 6.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green42.7%
Blue99.2%

CMYK percentages

Cyan31.2%
Magenta56.9%
Yellow0.0%
Key (black)0.8%

Color previews

#ae6dfd text on a black background

contrast 6.41:1

Card sample

#ae6dfd text on a white background

contrast 3.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae6dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae6dfd in the Color Lab