Skip to content

#cfb2fd

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

RGB
207, 178, 253
HSL
263°, 95%, 85%
CMYK
18, 30, 0, 1
Luminance
0.5220

Every format

HEX#cfb2fd
RGBrgb(207, 178, 253)
HSLhsl(263, 95%, 85%)
CMYKcmyk(18%, 30%, 0%, 1%)
LABlab(77.4 24.9 -33.3)
LCHlch(77.4 41.5 306.7)
OKLCHoklch(0.815 0.108 301.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfb2fd on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#cfb2fd on black: 11.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green69.8%
Blue99.2%

CMYK percentages

Cyan18.2%
Magenta29.6%
Yellow0.0%
Key (black)0.8%

Color previews

#cfb2fd text on a black background

contrast 11.44:1

Card sample

#cfb2fd text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfb2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfb2fd in the Color Lab