Skip to content

#af91db

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

RGB
175, 145, 219
HSL
264°, 51%, 71%
CMYK
20, 34, 0, 14
Luminance
0.3448

Every format

HEX#af91db
RGBrgb(175, 145, 219)
HSLhsl(264, 51%, 71%)
CMYKcmyk(20%, 34%, 0%, 14%)
LABlab(65.3 25.9 -33.6)
LCHlch(65.3 42.4 307.6)
OKLCHoklch(0.711 0.110 302.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af91db on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#af91db on black: 7.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green56.9%
Blue85.9%

CMYK percentages

Cyan20.1%
Magenta33.8%
Yellow0.0%
Key (black)14.1%

Color previews

#af91db text on a black background

contrast 7.90:1

Card sample

#af91db text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af91db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af91db in the Color Lab