Skip to content

#ae6cf0

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

RGB
174, 108, 240
HSL
270°, 82%, 68%
CMYK
28, 55, 0, 6
Luminance
0.2602

Every format

HEX#ae6cf0
RGBrgb(174, 108, 240)
HSLhsl(270, 82%, 68%)
CMYKcmyk(28%, 55%, 0%, 6%)
LABlab(58.0 50.9 -56.8)
LCHlch(58.0 76.3 311.9)
OKLCHoklch(0.660 0.195 304.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae6cf0 on white: 3.39:1
AA ✗ fail · AA-large · AAA
Aa
#ae6cf0 on black: 6.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green42.4%
Blue94.1%

CMYK percentages

Cyan27.5%
Magenta55.0%
Yellow0.0%
Key (black)5.9%

Color previews

#ae6cf0 text on a black background

contrast 6.20:1

Card sample

#ae6cf0 text on a white background

contrast 3.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae6cf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae6cf0 in the Color Lab