Skip to content

#cfb4fd

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

RGB
207, 180, 253
HSL
262°, 95%, 85%
CMYK
18, 29, 0, 1
Luminance
0.5300

Every format

HEX#cfb4fd
RGBrgb(207, 180, 253)
HSLhsl(262, 95%, 85%)
CMYKcmyk(18%, 29%, 0%, 1%)
LABlab(77.9 23.8 -32.5)
LCHlch(77.9 40.3 306.1)
OKLCHoklch(0.819 0.104 301.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan18.2%
Magenta28.9%
Yellow0.0%
Key (black)0.8%

Color previews

#cfb4fd text on a black background

contrast 11.60:1

Card sample

#cfb4fd text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfb4fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfb4fd in the Color Lab