Skip to content

#ddb7ff

a pale, electric violet · warm · closest name: plum

RGB
221, 183, 255
HSL
272°, 100%, 86%
CMYK
13, 28, 0, 0
Luminance
0.5646

Every format

HEX#ddb7ff
RGBrgb(221, 183, 255)
HSLhsl(272, 100%, 86%)
CMYKcmyk(13%, 28%, 0%, 0%)
LABlab(79.9 26.8 -30.4)
LCHlch(79.9 40.6 311.4)
OKLCHoklch(0.837 0.106 308.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddb7ff on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#ddb7ff on black: 12.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green71.8%
Blue100.0%

CMYK percentages

Cyan13.3%
Magenta28.2%
Yellow0.0%
Key (black)0.0%

Color previews

#ddb7ff text on a black background

contrast 12.29:1

Card sample

#ddb7ff text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddb7ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddb7ff in the Color Lab