Skip to content

#af92cc

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

RGB
175, 146, 204
HSL
270°, 36%, 69%
CMYK
14, 28, 0, 20
Luminance
0.3403

Every format

HEX#af92cc
RGBrgb(175, 146, 204)
HSLhsl(270, 36%, 69%)
CMYKcmyk(14%, 28%, 0%, 20%)
LABlab(65.0 22.0 -25.8)
LCHlch(65.0 33.9 310.4)
OKLCHoklch(0.707 0.089 307.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af92cc on white: 2.69:1
AA ✗ fail · AA-large · AAA
Aa
#af92cc on black: 7.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green57.3%
Blue80.0%

CMYK percentages

Cyan14.2%
Magenta28.4%
Yellow0.0%
Key (black)20.0%

Color previews

#af92cc text on a black background

contrast 7.81:1

Card sample

#af92cc text on a white background

contrast 2.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af92cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af92cc in the Color Lab