Skip to content

#af3bcd

a balanced, vivid violet · warm · closest name: purple

RGB
175, 59, 205
HSL
288°, 59%, 52%
CMYK
15, 71, 0, 20
Luminance
0.1665

Every format

HEX#af3bcd
RGBrgb(175, 59, 205)
HSLhsl(288, 59%, 52%)
CMYKcmyk(15%, 71%, 0%, 20%)
LABlab(47.8 66.3 -53.4)
LCHlch(47.8 85.1 321.2)
OKLCHoklch(0.579 0.226 318.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3bcd on white: 4.85:1
AA ✓ pass · AA-large · AAA
Aa
#af3bcd on black: 4.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green23.1%
Blue80.4%

CMYK percentages

Cyan14.6%
Magenta71.2%
Yellow0.0%
Key (black)19.6%

Color previews

#af3bcd text on a black background

contrast 4.33:1

Card sample

#af3bcd text on a white background

contrast 4.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3bcd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af3bcd in the Color Lab