Skip to content

#cfb4df

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

RGB
207, 180, 223
HSL
278°, 40%, 79%
CMYK
7, 19, 0, 13
Luminance
0.5124

Every format

HEX#cfb4df
RGBrgb(207, 180, 223)
HSLhsl(278, 40%, 79%)
CMYKcmyk(7%, 19%, 0%, 13%)
LABlab(76.8 17.5 -18.0)
LCHlch(76.8 25.1 314.2)
OKLCHoklch(0.807 0.066 312.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfb4df on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#cfb4df on black: 11.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green70.6%
Blue87.5%

CMYK percentages

Cyan7.2%
Magenta19.3%
Yellow0.0%
Key (black)12.5%

Color previews

#cfb4df text on a black background

contrast 11.25:1

Card sample

#cfb4df text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 180, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 180, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfb4df;
background: linear-gradient(135deg, #cfb4df, #DFB4D2);

Monochromatic scale

Palettes built from #cfb4df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfb4df in the Color Lab