Skip to content

#af99ce

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

RGB
175, 153, 206
HSL
265°, 35%, 70%
CMYK
15, 26, 0, 19
Luminance
0.3635

Every format

HEX#af99ce
RGBrgb(175, 153, 206)
HSLhsl(265, 35%, 70%)
CMYKcmyk(15%, 26%, 0%, 19%)
LABlab(66.8 18.5 -24.2)
LCHlch(66.8 30.4 307.4)
OKLCHoklch(0.721 0.079 303.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af99ce on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#af99ce on black: 8.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green60.0%
Blue80.8%

CMYK percentages

Cyan15.0%
Magenta25.7%
Yellow0.0%
Key (black)19.2%

Color previews

#af99ce text on a black background

contrast 8.27:1

Card sample

#af99ce text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af99ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af99ce in the Color Lab