Skip to content

#d4b3ff

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

RGB
212, 179, 255
HSL
266°, 100%, 85%
CMYK
17, 30, 0, 0
Luminance
0.5346

Every format

HEX#d4b3ff
RGBrgb(212, 179, 255)
HSLhsl(266, 100%, 85%)
CMYKcmyk(17%, 30%, 0%, 0%)
LABlab(78.1 26.2 -33.2)
LCHlch(78.1 42.3 308.3)
OKLCHoklch(0.822 0.110 304.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4b3ff on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#d4b3ff on black: 11.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green70.2%
Blue100.0%

CMYK percentages

Cyan16.9%
Magenta29.8%
Yellow0.0%
Key (black)0.0%

Color previews

#d4b3ff text on a black background

contrast 11.69:1

Card sample

#d4b3ff text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4b3ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4b3ff in the Color Lab