Skip to content

#dcb2f2

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

RGB
220, 178, 242
HSL
279°, 71%, 82%
CMYK
9, 26, 0, 5
Luminance
0.5347

Every format

HEX#dcb2f2
RGBrgb(220, 178, 242)
HSLhsl(279, 71%, 82%)
CMYKcmyk(9%, 26%, 0%, 5%)
LABlab(78.2 26.6 -26.1)
LCHlch(78.2 37.2 315.5)
OKLCHoklch(0.822 0.099 313.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green69.8%
Blue94.9%

CMYK percentages

Cyan9.1%
Magenta26.4%
Yellow0.0%
Key (black)5.1%

Color previews

#dcb2f2 text on a black background

contrast 11.69:1

Card sample

#dcb2f2 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcb2f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcb2f2 in the Color Lab