Skip to content

#ddb2eb

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

RGB
221, 178, 235
HSL
285°, 59%, 81%
CMYK
6, 24, 0, 8
Luminance
0.5321

Every format

HEX#ddb2eb
RGBrgb(221, 178, 235)
HSLhsl(285, 59%, 81%)
CMYKcmyk(6%, 24%, 0%, 8%)
LABlab(78.0 25.5 -22.6)
LCHlch(78.0 34.0 318.5)
OKLCHoklch(0.820 0.091 317.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddb2eb on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#ddb2eb on black: 11.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green69.8%
Blue92.2%

CMYK percentages

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

Color previews

#ddb2eb text on a black background

contrast 11.64:1

Card sample

#ddb2eb text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddb2eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddb2eb in the Color Lab