Skip to content

#cfbce2

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

RGB
207, 188, 226
HSL
270°, 40%, 81%
CMYK
8, 17, 0, 11
Luminance
0.5472

Every format

HEX#cfbce2
RGBrgb(207, 188, 226)
HSLhsl(270, 40%, 81%)
CMYKcmyk(8%, 17%, 0%, 11%)
LABlab(78.9 13.8 -16.5)
LCHlch(78.9 21.5 309.9)
OKLCHoklch(0.823 0.056 307.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfbce2 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#cfbce2 on black: 11.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green73.7%
Blue88.6%

CMYK percentages

Cyan8.4%
Magenta16.8%
Yellow0.0%
Key (black)11.4%

Color previews

#cfbce2 text on a black background

contrast 11.94:1

Card sample

#cfbce2 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfbce2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfbce2 in the Color Lab