Skip to content

#ad7cff

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

RGB
173, 124, 255
HSL
262°, 100%, 74%
CMYK
32, 51, 0, 0
Luminance
0.3052

Every format

HEX#ad7cff
RGBrgb(173, 124, 255)
HSLhsl(262, 100%, 74%)
CMYKcmyk(32%, 51%, 0%, 0%)
LABlab(62.1 45.7 -58.6)
LCHlch(62.1 74.3 307.9)
OKLCHoklch(0.692 0.189 298.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad7cff on white: 2.96:1
AA ✗ fail · AA-large · AAA
Aa
#ad7cff on black: 7.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green48.6%
Blue100.0%

CMYK percentages

Cyan32.2%
Magenta51.4%
Yellow0.0%
Key (black)0.0%

Color previews

#ad7cff text on a black background

contrast 7.10:1

Card sample

#ad7cff text on a white background

contrast 2.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad7cff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad7cff in the Color Lab