Skip to content

#d0b1ff

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

RGB
208, 177, 255
HSL
264°, 100%, 85%
CMYK
18, 31, 0, 0
Luminance
0.5207

Every format

HEX#d0b1ff
RGBrgb(208, 177, 255)
HSLhsl(264, 100%, 85%)
CMYKcmyk(18%, 31%, 0%, 0%)
LABlab(77.3 26.1 -34.5)
LCHlch(77.3 43.3 307.2)
OKLCHoklch(0.815 0.112 302.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0b1ff on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#d0b1ff on black: 11.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green69.4%
Blue100.0%

CMYK percentages

Cyan18.4%
Magenta30.6%
Yellow0.0%
Key (black)0.0%

Color previews

#d0b1ff text on a black background

contrast 11.41:1

Card sample

#d0b1ff text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0b1ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0b1ff in the Color Lab