Skip to content

#ad78eb

a light, vivid violet · warm · closest name: slateblue

RGB
173, 120, 235
HSL
268°, 74%, 70%
CMYK
26, 49, 0, 8
Luminance
0.2832

Every format

HEX#ad78eb
RGBrgb(173, 120, 235)
HSLhsl(268, 74%, 70%)
CMYKcmyk(26%, 49%, 0%, 8%)
LABlab(60.2 43.0 -50.6)
LCHlch(60.2 66.5 310.4)
OKLCHoklch(0.674 0.170 303.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad78eb on white: 3.15:1
AA ✗ fail · AA-large · AAA
Aa
#ad78eb on black: 6.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green47.1%
Blue92.2%

CMYK percentages

Cyan26.4%
Magenta48.9%
Yellow0.0%
Key (black)7.8%

Color previews

#ad78eb text on a black background

contrast 6.66:1

Card sample

#ad78eb text on a white background

contrast 3.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad78eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad78eb in the Color Lab