Skip to content

#ad92fd

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

RGB
173, 146, 253
HSL
255°, 96%, 78%
CMYK
32, 42, 0, 1
Luminance
0.3653

Every format

HEX#ad92fd
RGBrgb(173, 146, 253)
HSLhsl(255, 96%, 78%)
CMYKcmyk(32%, 42%, 0%, 1%)
LABlab(66.9 33.0 -49.9)
LCHlch(66.9 59.8 303.5)
OKLCHoklch(0.728 0.153 293.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad92fd on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#ad92fd on black: 8.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green57.3%
Blue99.2%

CMYK percentages

Cyan31.6%
Magenta42.3%
Yellow0.0%
Key (black)0.8%

Color previews

#ad92fd text on a black background

contrast 8.31:1

Card sample

#ad92fd text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad92fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad92fd in the Color Lab