Skip to content

#ad64eb

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

RGB
173, 100, 235
HSL
272°, 77%, 66%
CMYK
26, 57, 0, 8
Luminance
0.2400

Every format

HEX#ad64eb
RGBrgb(173, 100, 235)
HSLhsl(272, 77%, 66%)
CMYKcmyk(26%, 57%, 0%, 8%)
LABlab(56.1 53.7 -57.1)
LCHlch(56.1 78.4 313.2)
OKLCHoklch(0.644 0.201 306.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad64eb on white: 3.62:1
AA ✗ fail · AA-large · AAA
Aa
#ad64eb on black: 5.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green39.2%
Blue92.2%

CMYK percentages

Cyan26.4%
Magenta57.4%
Yellow0.0%
Key (black)7.8%

Color previews

#ad64eb text on a black background

contrast 5.80:1

Card sample

#ad64eb text on a white background

contrast 3.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad64eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad64eb in the Color Lab