Skip to content

#cfb1e2

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

RGB
207, 177, 226
HSL
277°, 46%, 79%
CMYK
8, 22, 0, 11
Luminance
0.5020

Every format

HEX#cfb1e2
RGBrgb(207, 177, 226)
HSLhsl(277, 46%, 79%)
CMYKcmyk(8%, 22%, 0%, 11%)
LABlab(76.2 19.7 -20.6)
LCHlch(76.2 28.5 313.8)
OKLCHoklch(0.802 0.075 312.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfb1e2 on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#cfb1e2 on black: 11.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green69.4%
Blue88.6%

CMYK percentages

Cyan8.4%
Magenta21.7%
Yellow0.0%
Key (black)11.4%

Color previews

#cfb1e2 text on a black background

contrast 11.04:1

Card sample

#cfb1e2 text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfb1e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfb1e2 in the Color Lab