Skip to content

#ad89eb

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

RGB
173, 137, 235
HSL
262°, 71%, 73%
CMYK
26, 42, 0, 8
Luminance
0.3277

Every format

HEX#ad89eb
RGBrgb(173, 137, 235)
HSLhsl(262, 71%, 73%)
CMYKcmyk(26%, 42%, 0%, 8%)
LABlab(64.0 33.6 -44.6)
LCHlch(64.0 55.8 307.0)
OKLCHoklch(0.703 0.143 299.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad89eb on white: 2.78:1
AA ✗ fail · AA-large · AAA
Aa
#ad89eb on black: 7.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green53.7%
Blue92.2%

CMYK percentages

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

Color previews

#ad89eb text on a black background

contrast 7.55:1

Card sample

#ad89eb text on a white background

contrast 2.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad89eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad89eb in the Color Lab