Skip to content

#cfbafc

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

RGB
207, 186, 252
HSL
259°, 92%, 86%
CMYK
18, 26, 0, 1
Luminance
0.5541

Every format

HEX#cfbafc
RGBrgb(207, 186, 252)
HSLhsl(259, 92%, 86%)
CMYKcmyk(18%, 26%, 0%, 1%)
LABlab(79.3 20.3 -29.9)
LCHlch(79.3 36.1 304.2)
OKLCHoklch(0.829 0.094 298.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfbafc on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#cfbafc on black: 12.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green72.9%
Blue98.8%

CMYK percentages

Cyan17.9%
Magenta26.2%
Yellow0.0%
Key (black)1.2%

Color previews

#cfbafc text on a black background

contrast 12.08:1

Card sample

#cfbafc text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfbafc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfbafc in the Color Lab