Skip to content

#ad5ce2

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

RGB
173, 92, 226
HSL
276°, 70%, 62%
CMYK
24, 59, 0, 11
Luminance
0.2203

Every format

HEX#ad5ce2
RGBrgb(173, 92, 226)
HSLhsl(276, 70%, 62%)
CMYKcmyk(24%, 59%, 0%, 11%)
LABlab(54.1 55.7 -55.3)
LCHlch(54.1 78.5 315.2)
OKLCHoklch(0.628 0.202 309.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.8%
Green36.1%
Blue88.6%

CMYK percentages

Cyan23.5%
Magenta59.3%
Yellow0.0%
Key (black)11.4%

Color previews

#ad5ce2 text on a black background

contrast 5.41:1

Card sample

#ad5ce2 text on a white background

contrast 3.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad5ce2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad5ce2 in the Color Lab