Skip to content

#ad47cb

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

RGB
173, 71, 203
HSL
286°, 56%, 54%
CMYK
15, 65, 0, 20
Luminance
0.1770

Every format

HEX#ad47cb
RGBrgb(173, 71, 203)
HSLhsl(286, 56%, 54%)
CMYKcmyk(15%, 65%, 0%, 20%)
LABlab(49.1 60.7 -50.1)
LCHlch(49.1 78.7 320.4)
OKLCHoklch(0.588 0.209 317.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad47cb on white: 4.63:1
AA ✓ pass · AA-large · AAA
Aa
#ad47cb on black: 4.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green27.8%
Blue79.6%

CMYK percentages

Cyan14.8%
Magenta65.0%
Yellow0.0%
Key (black)20.4%

Color previews

#ad47cb text on a black background

contrast 4.54:1

Card sample

#ad47cb text on a white background

contrast 4.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad47cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad47cb in the Color Lab