Skip to content

#cfb2fb

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

RGB
207, 178, 251
HSL
264°, 90%, 84%
CMYK
18, 29, 0, 2
Luminance
0.5207

Every format

HEX#cfb2fb
RGBrgb(207, 178, 251)
HSLhsl(264, 90%, 84%)
CMYKcmyk(18%, 29%, 0%, 2%)
LABlab(77.3 24.4 -32.3)
LCHlch(77.3 40.5 307.1)
OKLCHoklch(0.814 0.105 302.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green69.8%
Blue98.4%

CMYK percentages

Cyan17.5%
Magenta29.1%
Yellow0.0%
Key (black)1.6%

Color previews

#cfb2fb text on a black background

contrast 11.41:1

Card sample

#cfb2fb text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfb2fb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfb2fb in the Color Lab