Skip to content

#ae7bc9

a balanced, soft violet · warm · closest name: plum

RGB
174, 123, 201
HSL
279°, 42%, 64%
CMYK
13, 39, 0, 21
Luminance
0.2738

Every format

HEX#ae7bc9
RGBrgb(174, 123, 201)
HSLhsl(279, 42%, 64%)
CMYKcmyk(13%, 39%, 0%, 21%)
LABlab(59.3 34.0 -32.9)
LCHlch(59.3 47.3 315.9)
OKLCHoklch(0.663 0.125 313.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae7bc9 on white: 3.24:1
AA ✗ fail · AA-large · AAA
Aa
#ae7bc9 on black: 6.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green48.2%
Blue78.8%

CMYK percentages

Cyan13.4%
Magenta38.8%
Yellow0.0%
Key (black)21.2%

Color previews

#ae7bc9 text on a black background

contrast 6.48:1

Card sample

#ae7bc9 text on a white background

contrast 3.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae7bc9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae7bc9 in the Color Lab