Skip to content

#ad59eb

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

RGB
173, 89, 235
HSL
275°, 79%, 64%
CMYK
26, 62, 0, 8
Luminance
0.2203

Every format

HEX#ad59eb
RGBrgb(173, 89, 235)
HSLhsl(275, 79%, 64%)
CMYKcmyk(26%, 62%, 0%, 8%)
LABlab(54.1 59.1 -60.4)
LCHlch(54.1 84.5 314.4)
OKLCHoklch(0.629 0.216 307.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad59eb on white: 3.88:1
AA ✗ fail · AA-large · AAA
Aa
#ad59eb on black: 5.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green34.9%
Blue92.2%

CMYK percentages

Cyan26.4%
Magenta62.1%
Yellow0.0%
Key (black)7.8%

Color previews

#ad59eb text on a black background

contrast 5.41:1

Card sample

#ad59eb text on a white background

contrast 3.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad59eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad59eb in the Color Lab