Skip to content

#af99e3

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

RGB
175, 153, 227
HSL
258°, 57%, 75%
CMYK
23, 33, 0, 11
Luminance
0.3744

Every format

HEX#af99e3
RGBrgb(175, 153, 227)
HSLhsl(258, 57%, 75%)
CMYKcmyk(23%, 33%, 0%, 11%)
LABlab(67.6 23.3 -34.5)
LCHlch(67.6 41.6 304.0)
OKLCHoklch(0.730 0.107 297.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af99e3 on white: 2.47:1
AA ✗ fail · AA-large · AAA
Aa
#af99e3 on black: 8.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green60.0%
Blue89.0%

CMYK percentages

Cyan22.9%
Magenta32.6%
Yellow0.0%
Key (black)11.0%

Color previews

#af99e3 text on a black background

contrast 8.49:1

Card sample

#af99e3 text on a white background

contrast 2.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af99e3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af99e3 in the Color Lab