Skip to content

#dcbafe

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

RGB
220, 186, 254
HSL
270°, 97%, 86%
CMYK
13, 27, 0, 0
Luminance
0.5749

Every format

HEX#dcbafe
RGBrgb(220, 186, 254)
HSLhsl(270, 97%, 86%)
CMYKcmyk(13%, 27%, 0%, 0%)
LABlab(80.5 24.7 -29.0)
LCHlch(80.5 38.1 310.4)
OKLCHoklch(0.841 0.100 307.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcbafe on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#dcbafe on black: 12.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green72.9%
Blue99.6%

CMYK percentages

Cyan13.4%
Magenta26.8%
Yellow0.0%
Key (black)0.4%

Color previews

#dcbafe text on a black background

contrast 12.50:1

Card sample

#dcbafe text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcbafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcbafe in the Color Lab