Skip to content

#cfbafe

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

RGB
207, 186, 254
HSL
259°, 97%, 86%
CMYK
19, 27, 0, 0
Luminance
0.5554

Every format

HEX#cfbafe
RGBrgb(207, 186, 254)
HSLhsl(259, 97%, 86%)
CMYKcmyk(19%, 27%, 0%, 0%)
LABlab(79.3 20.7 -30.8)
LCHlch(79.3 37.1 303.9)
OKLCHoklch(0.830 0.096 298.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfbafe on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#cfbafe on black: 12.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green72.9%
Blue99.6%

CMYK percentages

Cyan18.5%
Magenta26.8%
Yellow0.0%
Key (black)0.4%

Color previews

#cfbafe text on a black background

contrast 12.11:1

Card sample

#cfbafe text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfbafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfbafe in the Color Lab