Skip to content

#ae56cf

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

RGB
174, 86, 207
HSL
284°, 56%, 58%
CMYK
16, 59, 0, 19
Luminance
0.2016

Every format

HEX#ae56cf
RGBrgb(174, 86, 207)
HSLhsl(284, 56%, 58%)
CMYKcmyk(16%, 59%, 0%, 19%)
LABlab(52.0 54.8 -47.8)
LCHlch(52.0 72.7 318.9)
OKLCHoklch(0.610 0.192 315.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae56cf on white: 4.17:1
AA ✗ fail · AA-large · AAA
Aa
#ae56cf on black: 5.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green33.7%
Blue81.2%

CMYK percentages

Cyan15.9%
Magenta58.5%
Yellow0.0%
Key (black)18.8%

Color previews

#ae56cf text on a black background

contrast 5.03:1

Card sample

#ae56cf text on a white background

contrast 4.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae56cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae56cf in the Color Lab