Skip to content

#ddb0ff

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

RGB
221, 176, 255
HSL
274°, 100%, 85%
CMYK
13, 31, 0, 0
Luminance
0.5364

Every format

HEX#ddb0ff
RGBrgb(221, 176, 255)
HSLhsl(274, 100%, 85%)
CMYKcmyk(13%, 31%, 0%, 0%)
LABlab(78.3 30.6 -32.9)
LCHlch(78.3 45.0 312.9)
OKLCHoklch(0.825 0.118 310.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddb0ff on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#ddb0ff on black: 11.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green69.0%
Blue100.0%

CMYK percentages

Cyan13.3%
Magenta31.0%
Yellow0.0%
Key (black)0.0%

Color previews

#ddb0ff text on a black background

contrast 11.73:1

Card sample

#ddb0ff text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddb0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddb0ff in the Color Lab