Skip to content

#d7baeb

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

RGB
215, 186, 235
HSL
276°, 55%, 83%
CMYK
9, 21, 0, 8
Luminance
0.5556

Every format

HEX#d7baeb
RGBrgb(215, 186, 235)
HSLhsl(276, 55%, 83%)
CMYKcmyk(9%, 21%, 0%, 8%)
LABlab(79.4 19.2 -20.5)
LCHlch(79.4 28.1 313.1)
OKLCHoklch(0.830 0.074 311.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7baeb on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#d7baeb on black: 12.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green72.9%
Blue92.2%

CMYK percentages

Cyan8.5%
Magenta20.9%
Yellow0.0%
Key (black)7.8%

Color previews

#d7baeb text on a black background

contrast 12.11:1

Card sample

#d7baeb text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7baeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7baeb in the Color Lab