Skip to content

#af49cf

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

RGB
175, 73, 207
HSL
286°, 58%, 55%
CMYK
16, 65, 0, 19
Luminance
0.1838

Every format

HEX#af49cf
RGBrgb(175, 73, 207)
HSLhsl(286, 58%, 55%)
CMYKcmyk(16%, 65%, 0%, 19%)
LABlab(50.0 61.0 -51.1)
LCHlch(50.0 79.6 320.1)
OKLCHoklch(0.595 0.210 317.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af49cf on white: 4.49:1
AA ✗ fail · AA-large · AAA
Aa
#af49cf on black: 4.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green28.6%
Blue81.2%

CMYK percentages

Cyan15.5%
Magenta64.7%
Yellow0.0%
Key (black)18.8%

Color previews

#af49cf text on a black background

contrast 4.68:1

Card sample

#af49cf text on a white background

contrast 4.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af49cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af49cf in the Color Lab