Skip to content

#ddb1ff

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

RGB
221, 177, 255
HSL
274°, 100%, 85%
CMYK
13, 31, 0, 0
Luminance
0.5404

Every format

HEX#ddb1ff
RGBrgb(221, 177, 255)
HSLhsl(274, 100%, 85%)
CMYKcmyk(13%, 31%, 0%, 0%)
LABlab(78.5 30.1 -32.6)
LCHlch(78.5 44.3 312.7)
OKLCHoklch(0.826 0.116 309.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddb1ff on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#ddb1ff on black: 11.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan13.3%
Magenta30.6%
Yellow0.0%
Key (black)0.0%

Color previews

#ddb1ff text on a black background

contrast 11.81:1

Card sample

#ddb1ff text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddb1ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddb1ff in the Color Lab