Skip to content

#af49cb

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

RGB
175, 73, 203
HSL
287°, 56%, 54%
CMYK
14, 64, 0, 20
Luminance
0.1819

Every format

HEX#af49cb
RGBrgb(175, 73, 203)
HSLhsl(287, 56%, 54%)
CMYKcmyk(14%, 64%, 0%, 20%)
LABlab(49.7 60.3 -49.1)
LCHlch(49.7 77.8 320.8)
OKLCHoklch(0.593 0.207 318.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af49cb on white: 4.53:1
AA ✓ pass · AA-large · AAA
Aa
#af49cb on black: 4.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green28.6%
Blue79.6%

CMYK percentages

Cyan13.8%
Magenta64.0%
Yellow0.0%
Key (black)20.4%

Color previews

#af49cb text on a black background

contrast 4.64:1

Card sample

#af49cb text on a white background

contrast 4.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af49cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af49cb in the Color Lab