Skip to content

#af49db

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

RGB
175, 73, 219
HSL
282°, 67%, 57%
CMYK
20, 67, 0, 14
Luminance
0.1899

Every format

HEX#af49db
RGBrgb(175, 73, 219)
HSLhsl(282, 67%, 57%)
CMYKcmyk(20%, 67%, 0%, 14%)
LABlab(50.7 63.5 -56.8)
LCHlch(50.7 85.2 318.2)
OKLCHoklch(0.603 0.222 313.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af49db on white: 4.38:1
AA ✗ fail · AA-large · AAA
Aa
#af49db on black: 4.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green28.6%
Blue85.9%

CMYK percentages

Cyan20.1%
Magenta66.7%
Yellow0.0%
Key (black)14.1%

Color previews

#af49db text on a black background

contrast 4.80:1

Card sample

#af49db text on a white background

contrast 4.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af49db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af49db in the Color Lab