Skip to content

#ad66ff

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

RGB
173, 102, 255
HSL
268°, 100%, 70%
CMYK
32, 60, 0, 0
Luminance
0.2561

Every format

HEX#ad66ff
RGBrgb(173, 102, 255)
HSLhsl(268, 100%, 70%)
CMYKcmyk(32%, 60%, 0%, 0%)
LABlab(57.7 57.3 -65.7)
LCHlch(57.7 87.2 311.1)
OKLCHoklch(0.660 0.220 302.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad66ff on white: 3.43:1
AA ✗ fail · AA-large · AAA
Aa
#ad66ff on black: 6.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green40.0%
Blue100.0%

CMYK percentages

Cyan32.2%
Magenta60.0%
Yellow0.0%
Key (black)0.0%

Color previews

#ad66ff text on a black background

contrast 6.12:1

Card sample

#ad66ff text on a white background

contrast 3.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad66ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad66ff in the Color Lab