Skip to content

#af86db

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

RGB
175, 134, 219
HSL
269°, 54%, 69%
CMYK
20, 39, 0, 14
Luminance
0.3128

Every format

HEX#af86db
RGBrgb(175, 134, 219)
HSLhsl(269, 54%, 69%)
CMYKcmyk(20%, 39%, 0%, 14%)
LABlab(62.7 32.1 -37.7)
LCHlch(62.7 49.5 310.4)
OKLCHoklch(0.692 0.128 305.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af86db on white: 2.89:1
AA ✗ fail · AA-large · AAA
Aa
#af86db on black: 7.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green52.5%
Blue85.9%

CMYK percentages

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

Color previews

#af86db text on a black background

contrast 7.26:1

Card sample

#af86db text on a white background

contrast 2.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af86db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af86db in the Color Lab