Skip to content

#ad7fdb

a light, vivid violet · warm · closest name: orchid

RGB
173, 127, 219
HSL
270°, 56%, 68%
CMYK
21, 42, 0, 14
Luminance
0.2918

Every format

HEX#ad7fdb
RGBrgb(173, 127, 219)
HSLhsl(270, 56%, 68%)
CMYKcmyk(21%, 42%, 0%, 14%)
LABlab(60.9 35.4 -40.5)
LCHlch(60.9 53.8 311.2)
OKLCHoklch(0.678 0.139 306.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad7fdb on white: 3.07:1
AA ✗ fail · AA-large · AAA
Aa
#ad7fdb on black: 6.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green49.8%
Blue85.9%

CMYK percentages

Cyan21.0%
Magenta42.0%
Yellow0.0%
Key (black)14.1%

Color previews

#ad7fdb text on a black background

contrast 6.84:1

Card sample

#ad7fdb text on a white background

contrast 3.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad7fdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad7fdb in the Color Lab