Skip to content

#af86df

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

RGB
175, 134, 223
HSL
268°, 58%, 70%
CMYK
22, 40, 0, 13
Luminance
0.3149

Every format

HEX#af86df
RGBrgb(175, 134, 223)
HSLhsl(268, 58%, 70%)
CMYKcmyk(22%, 40%, 0%, 13%)
LABlab(62.9 33.0 -39.6)
LCHlch(62.9 51.6 309.8)
OKLCHoklch(0.694 0.133 304.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af86df on white: 2.88:1
AA ✗ fail · AA-large · AAA
Aa
#af86df on black: 7.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green52.5%
Blue87.5%

CMYK percentages

Cyan21.5%
Magenta39.9%
Yellow0.0%
Key (black)12.5%

Color previews

#af86df text on a black background

contrast 7.30:1

Card sample

#af86df text on a white background

contrast 2.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af86df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af86df in the Color Lab