Skip to content

#af92cb

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

RGB
175, 146, 203
HSL
271°, 35%, 68%
CMYK
14, 28, 0, 20
Luminance
0.3398

Every format

HEX#af92cb
RGBrgb(175, 146, 203)
HSLhsl(271, 35%, 68%)
CMYKcmyk(14%, 28%, 0%, 20%)
LABlab(65.0 21.8 -25.3)
LCHlch(65.0 33.4 310.7)
OKLCHoklch(0.706 0.087 307.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green57.3%
Blue79.6%

CMYK percentages

Cyan13.8%
Magenta28.1%
Yellow0.0%
Key (black)20.4%

Color previews

#af92cb text on a black background

contrast 7.80:1

Card sample

#af92cb text on a white background

contrast 2.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af92cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af92cb in the Color Lab