Skip to content

#ad47eb

a balanced, electric violet · warm · closest name: slateblue

RGB
173, 71, 235
HSL
277°, 80%, 60%
CMYK
26, 70, 0, 8
Luminance
0.1939

Every format

HEX#ad47eb
RGBrgb(173, 71, 235)
HSLhsl(277, 80%, 60%)
CMYKcmyk(26%, 70%, 0%, 8%)
LABlab(51.1 67.2 -65.1)
LCHlch(51.1 93.6 315.9)
OKLCHoklch(0.609 0.239 309.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad47eb on white: 4.31:1
AA ✗ fail · AA-large · AAA
Aa
#ad47eb on black: 4.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green27.8%
Blue92.2%

CMYK percentages

Cyan26.4%
Magenta69.8%
Yellow0.0%
Key (black)7.8%

Color previews

#ad47eb text on a black background

contrast 4.88:1

Card sample

#ad47eb text on a white background

contrast 4.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad47eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad47eb in the Color Lab