Skip to content

#ad91fd

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

RGB
173, 145, 253
HSL
256°, 96%, 78%
CMYK
32, 43, 0, 1
Luminance
0.3623

Every format

HEX#ad91fd
RGBrgb(173, 145, 253)
HSLhsl(256, 96%, 78%)
CMYKcmyk(32%, 43%, 0%, 1%)
LABlab(66.7 33.5 -50.2)
LCHlch(66.7 60.4 303.7)
OKLCHoklch(0.726 0.154 294.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad91fd on white: 2.55:1
AA ✗ fail · AA-large · AAA
Aa
#ad91fd on black: 8.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green56.9%
Blue99.2%

CMYK percentages

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

Color previews

#ad91fd text on a black background

contrast 8.25:1

Card sample

#ad91fd text on a white background

contrast 2.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad91fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad91fd in the Color Lab