Skip to content

#d6b2eb

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

RGB
214, 178, 235
HSL
278°, 59%, 81%
CMYK
9, 24, 0, 8
Luminance
0.5214

Every format

HEX#d6b2eb
RGBrgb(214, 178, 235)
HSLhsl(278, 59%, 81%)
CMYKcmyk(9%, 24%, 0%, 8%)
LABlab(77.4 23.2 -23.6)
LCHlch(77.4 33.1 314.6)
OKLCHoklch(0.814 0.087 312.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.9%
Green69.8%
Blue92.2%

CMYK percentages

Cyan8.9%
Magenta24.3%
Yellow0.0%
Key (black)7.8%

Color previews

#d6b2eb text on a black background

contrast 11.43:1

Card sample

#d6b2eb text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(214, 178, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(214, 178, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d6b2eb;
background: linear-gradient(135deg, #d6b2eb, #EBB2DA);

Monochromatic scale

Palettes built from #d6b2eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d6b2eb in the Color Lab