Skip to content

#af86ba

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

RGB
175, 134, 186
HSL
287°, 27%, 63%
CMYK
6, 28, 0, 27
Luminance
0.2971

Every format

HEX#af86ba
RGBrgb(175, 134, 186)
HSLhsl(287, 27%, 63%)
CMYKcmyk(6%, 28%, 0%, 27%)
LABlab(61.4 25.0 -21.2)
LCHlch(61.4 32.8 319.7)
OKLCHoklch(0.677 0.088 319.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af86ba on white: 3.03:1
AA ✗ fail · AA-large · AAA
Aa
#af86ba on black: 6.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green52.5%
Blue72.9%

CMYK percentages

Cyan5.9%
Magenta28.0%
Yellow0.0%
Key (black)27.1%

Color previews

#af86ba text on a black background

contrast 6.94:1

Card sample

#af86ba text on a white background

contrast 3.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af86ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af86ba in the Color Lab