Skip to content

#d2b3ff

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

RGB
210, 179, 255
HSL
265°, 100%, 85%
CMYK
18, 30, 0, 0
Luminance
0.5316

Every format

HEX#d2b3ff
RGBrgb(210, 179, 255)
HSLhsl(265, 100%, 85%)
CMYKcmyk(18%, 30%, 0%, 0%)
LABlab(78.0 25.6 -33.5)
LCHlch(78.0 42.1 307.5)
OKLCHoklch(0.820 0.109 302.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2b3ff on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#d2b3ff on black: 11.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green70.2%
Blue100.0%

CMYK percentages

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

Color previews

#d2b3ff text on a black background

contrast 11.63:1

Card sample

#d2b3ff text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2b3ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2b3ff in the Color Lab