Skip to content

#af99dd

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

RGB
175, 153, 221
HSL
259°, 50%, 73%
CMYK
21, 31, 0, 13
Luminance
0.3712

Every format

HEX#af99dd
RGBrgb(175, 153, 221)
HSLhsl(259, 50%, 73%)
CMYKcmyk(21%, 31%, 0%, 13%)
LABlab(67.4 21.9 -31.6)
LCHlch(67.4 38.4 304.7)
OKLCHoklch(0.727 0.099 298.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af99dd on white: 2.49:1
AA ✗ fail · AA-large · AAA
Aa
#af99dd on black: 8.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green60.0%
Blue86.7%

CMYK percentages

Cyan20.8%
Magenta30.8%
Yellow0.0%
Key (black)13.3%

Color previews

#af99dd text on a black background

contrast 8.42:1

Card sample

#af99dd text on a white background

contrast 2.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 153, 221, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 153, 221, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af99dd;
background: linear-gradient(135deg, #af99dd, #DC99DD);

Monochromatic scale

Palettes built from #af99dd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af99dd in the Color Lab