Skip to content

#af89cc

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

RGB
175, 137, 204
HSL
274°, 40%, 67%
CMYK
14, 33, 0, 20
Luminance
0.3136

Every format

HEX#af89cc
RGBrgb(175, 137, 204)
HSLhsl(274, 40%, 67%)
CMYKcmyk(14%, 33%, 0%, 20%)
LABlab(62.8 27.1 -29.2)
LCHlch(62.8 39.8 312.9)
OKLCHoklch(0.690 0.104 309.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green53.7%
Blue80.0%

CMYK percentages

Cyan14.2%
Magenta32.8%
Yellow0.0%
Key (black)20.0%

Color previews

#af89cc text on a black background

contrast 7.27:1

Card sample

#af89cc text on a white background

contrast 2.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af89cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af89cc in the Color Lab