Skip to content

#dcb2f0

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

RGB
220, 178, 240
HSL
281°, 67%, 82%
CMYK
8, 26, 0, 6
Luminance
0.5335

Every format

HEX#dcb2f0
RGBrgb(220, 178, 240)
HSLhsl(281, 67%, 82%)
CMYKcmyk(8%, 26%, 0%, 6%)
LABlab(78.1 26.1 -25.1)
LCHlch(78.1 36.3 316.1)
OKLCHoklch(0.821 0.096 314.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green69.8%
Blue94.1%

CMYK percentages

Cyan8.3%
Magenta25.8%
Yellow0.0%
Key (black)5.9%

Color previews

#dcb2f0 text on a black background

contrast 11.67:1

Card sample

#dcb2f0 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcb2f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcb2f0 in the Color Lab