Skip to content

#ad82fd

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

RGB
173, 130, 253
HSL
261°, 97%, 75%
CMYK
32, 49, 0, 1
Luminance
0.3194

Every format

HEX#ad82fd
RGBrgb(173, 130, 253)
HSLhsl(261, 97%, 75%)
CMYKcmyk(32%, 49%, 0%, 1%)
LABlab(63.3 41.9 -55.6)
LCHlch(63.3 69.6 307.0)
OKLCHoklch(0.701 0.177 297.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad82fd on white: 2.84:1
AA ✗ fail · AA-large · AAA
Aa
#ad82fd on black: 7.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green51.0%
Blue99.2%

CMYK percentages

Cyan31.6%
Magenta48.6%
Yellow0.0%
Key (black)0.8%

Color previews

#ad82fd text on a black background

contrast 7.39:1

Card sample

#ad82fd text on a white background

contrast 2.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad82fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad82fd in the Color Lab