Skip to content

#d2b8ff

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

RGB
210, 184, 255
HSL
262°, 100%, 86%
CMYK
18, 28, 0, 0
Luminance
0.5520

Every format

HEX#d2b8ff
RGBrgb(210, 184, 255)
HSLhsl(262, 100%, 86%)
CMYKcmyk(18%, 28%, 0%, 0%)
LABlab(79.2 22.9 -31.6)
LCHlch(79.2 39.0 305.9)
OKLCHoklch(0.829 0.101 301.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2b8ff on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#d2b8ff on black: 12.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green72.2%
Blue100.0%

CMYK percentages

Cyan17.6%
Magenta27.8%
Yellow0.0%
Key (black)0.0%

Color previews

#d2b8ff text on a black background

contrast 12.04:1

Card sample

#d2b8ff text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2b8ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2b8ff in the Color Lab