Skip to content

#ddb8ff

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

RGB
221, 184, 255
HSL
271°, 100%, 86%
CMYK
13, 28, 0, 0
Luminance
0.5687

Every format

HEX#ddb8ff
RGBrgb(221, 184, 255)
HSLhsl(271, 100%, 86%)
CMYKcmyk(13%, 28%, 0%, 0%)
LABlab(80.1 26.3 -30.1)
LCHlch(80.1 39.9 311.1)
OKLCHoklch(0.839 0.104 308.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddb8ff on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#ddb8ff on black: 12.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green72.2%
Blue100.0%

CMYK percentages

Cyan13.3%
Magenta27.8%
Yellow0.0%
Key (black)0.0%

Color previews

#ddb8ff text on a black background

contrast 12.37:1

Card sample

#ddb8ff text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddb8ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddb8ff in the Color Lab