Skip to content

#ddb1eb

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

RGB
221, 177, 235
HSL
286°, 59%, 81%
CMYK
6, 25, 0, 8
Luminance
0.5281

Every format

HEX#ddb1eb
RGBrgb(221, 177, 235)
HSLhsl(286, 59%, 81%)
CMYKcmyk(6%, 25%, 0%, 8%)
LABlab(77.8 26.0 -22.9)
LCHlch(77.8 34.7 318.6)
OKLCHoklch(0.819 0.093 317.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddb1eb on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#ddb1eb on black: 11.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green69.4%
Blue92.2%

CMYK percentages

Cyan6.0%
Magenta24.7%
Yellow0.0%
Key (black)7.8%

Color previews

#ddb1eb text on a black background

contrast 11.56:1

Card sample

#ddb1eb text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddb1eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddb1eb in the Color Lab