Skip to content

#ae2ccb

a balanced, vivid violet · warm · closest name: purple

RGB
174, 44, 203
HSL
289°, 64%, 48%
CMYK
14, 78, 0, 20
Luminance
0.1511

Every format

HEX#ae2ccb
RGBrgb(174, 44, 203)
HSLhsl(289, 64%, 48%)
CMYKcmyk(14%, 78%, 0%, 20%)
LABlab(45.8 70.8 -55.5)
LCHlch(45.8 89.9 321.9)
OKLCHoklch(0.564 0.239 319.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2ccb on white: 5.22:1
AA ✓ pass · AA-large · AAA
Aa
#ae2ccb on black: 4.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green17.3%
Blue79.6%

CMYK percentages

Cyan14.3%
Magenta78.3%
Yellow0.0%
Key (black)20.4%

Color previews

#ae2ccb text on a black background

contrast 4.02:1

Card sample

#ae2ccb text on a white background

contrast 5.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2ccb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2ccb in the Color Lab