Skip to content

#ad68eb

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

RGB
173, 104, 235
HSL
272°, 77%, 67%
CMYK
26, 56, 0, 8
Luminance
0.2478

Every format

HEX#ad68eb
RGBrgb(173, 104, 235)
HSLhsl(272, 77%, 67%)
CMYKcmyk(26%, 56%, 0%, 8%)
LABlab(56.9 51.6 -55.9)
LCHlch(56.9 76.1 312.7)
OKLCHoklch(0.650 0.195 306.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad68eb on white: 3.53:1
AA ✗ fail · AA-large · AAA
Aa
#ad68eb on black: 5.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green40.8%
Blue92.2%

CMYK percentages

Cyan26.4%
Magenta55.7%
Yellow0.0%
Key (black)7.8%

Color previews

#ad68eb text on a black background

contrast 5.96:1

Card sample

#ad68eb text on a white background

contrast 3.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad68eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad68eb in the Color Lab