Skip to content

#d1b3ff

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

RGB
209, 179, 255
HSL
264°, 100%, 85%
CMYK
18, 30, 0, 0
Luminance
0.5302

Every format

HEX#d1b3ff
RGBrgb(209, 179, 255)
HSLhsl(264, 100%, 85%)
CMYKcmyk(18%, 30%, 0%, 0%)
LABlab(77.9 25.3 -33.6)
LCHlch(77.9 42.1 307.0)
OKLCHoklch(0.819 0.109 302.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan18.0%
Magenta29.8%
Yellow0.0%
Key (black)0.0%

Color previews

#d1b3ff text on a black background

contrast 11.60:1

Card sample

#d1b3ff text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d1b3ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d1b3ff in the Color Lab