Skip to content

#ae89eb

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

RGB
174, 137, 235
HSL
263°, 71%, 73%
CMYK
26, 42, 0, 8
Luminance
0.3289

Every format

HEX#ae89eb
RGBrgb(174, 137, 235)
HSLhsl(263, 71%, 73%)
CMYKcmyk(26%, 42%, 0%, 8%)
LABlab(64.1 33.9 -44.5)
LCHlch(64.1 55.9 307.3)
OKLCHoklch(0.704 0.144 300.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae89eb on white: 2.77:1
AA ✗ fail · AA-large · AAA
Aa
#ae89eb on black: 7.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green53.7%
Blue92.2%

CMYK percentages

Cyan26.0%
Magenta41.7%
Yellow0.0%
Key (black)7.8%

Color previews

#ae89eb text on a black background

contrast 7.58:1

Card sample

#ae89eb text on a white background

contrast 2.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae89eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae89eb in the Color Lab