Skip to content

#cfb4fe

a pale, electric violet · warm · closest name: plum

RGB
207, 180, 254
HSL
262°, 97%, 85%
CMYK
19, 29, 0, 0
Luminance
0.5306

Every format

HEX#cfb4fe
RGBrgb(207, 180, 254)
HSLhsl(262, 97%, 85%)
CMYKcmyk(19%, 29%, 0%, 0%)
LABlab(77.9 24.0 -33.0)
LCHlch(77.9 40.8 306.0)
OKLCHoklch(0.819 0.106 300.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfb4fe on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#cfb4fe on black: 11.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green70.6%
Blue99.6%

CMYK percentages

Cyan18.5%
Magenta29.1%
Yellow0.0%
Key (black)0.4%

Color previews

#cfb4fe text on a black background

contrast 11.61:1

Card sample

#cfb4fe text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfb4fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfb4fe in the Color Lab