Skip to content

#cfbadf

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

RGB
207, 186, 223
HSL
274°, 37%, 80%
CMYK
7, 17, 0, 13
Luminance
0.5371

Every format

HEX#cfbadf
RGBrgb(207, 186, 223)
HSLhsl(274, 37%, 80%)
CMYKcmyk(7%, 17%, 0%, 13%)
LABlab(78.3 14.2 -15.8)
LCHlch(78.3 21.2 312.1)
OKLCHoklch(0.818 0.056 310.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfbadf on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#cfbadf on black: 11.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green72.9%
Blue87.5%

CMYK percentages

Cyan7.2%
Magenta16.6%
Yellow0.0%
Key (black)12.5%

Color previews

#cfbadf text on a black background

contrast 11.74:1

Card sample

#cfbadf text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfbadf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfbadf in the Color Lab