Skip to content

#cfbfeb

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

RGB
207, 191, 235
HSL
262°, 52%, 84%
CMYK
12, 19, 0, 8
Luminance
0.5653

Every format

HEX#cfbfeb
RGBrgb(207, 191, 235)
HSLhsl(262, 52%, 84%)
CMYKcmyk(12%, 19%, 0%, 8%)
LABlab(79.9 14.0 -19.8)
LCHlch(79.9 24.2 305.2)
OKLCHoklch(0.832 0.063 301.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfbfeb on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#cfbfeb on black: 12.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green74.9%
Blue92.2%

CMYK percentages

Cyan11.9%
Magenta18.7%
Yellow0.0%
Key (black)7.8%

Color previews

#cfbfeb text on a black background

contrast 12.31:1

Card sample

#cfbfeb text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfbfeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfbfeb in the Color Lab