Skip to content

#cfb3df

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

RGB
207, 179, 223
HSL
278°, 41%, 79%
CMYK
7, 20, 0, 13
Luminance
0.5083

Every format

HEX#cfb3df
RGBrgb(207, 179, 223)
HSLhsl(278, 41%, 79%)
CMYKcmyk(7%, 20%, 0%, 13%)
LABlab(76.6 18.0 -18.3)
LCHlch(76.6 25.7 314.5)
OKLCHoklch(0.805 0.068 313.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfb3df on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#cfb3df on black: 11.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#cfb3df text on a black background

contrast 11.17:1

Card sample

#cfb3df text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfb3df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfb3df in the Color Lab