Skip to content

#af99db

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

RGB
175, 153, 219
HSL
260°, 48%, 73%
CMYK
20, 30, 0, 14
Luminance
0.3701

Every format

HEX#af99db
RGBrgb(175, 153, 219)
HSLhsl(260, 48%, 73%)
CMYKcmyk(20%, 30%, 0%, 14%)
LABlab(67.3 21.4 -30.6)
LCHlch(67.3 37.4 305.0)
OKLCHoklch(0.726 0.097 299.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af99db on white: 2.50:1
AA ✗ fail · AA-large · AAA
Aa
#af99db on black: 8.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green60.0%
Blue85.9%

CMYK percentages

Cyan20.1%
Magenta30.1%
Yellow0.0%
Key (black)14.1%

Color previews

#af99db text on a black background

contrast 8.40:1

Card sample

#af99db text on a white background

contrast 2.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af99db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af99db in the Color Lab