Skip to content

#cfacef

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

RGB
207, 172, 239
HSL
271°, 68%, 81%
CMYK
13, 28, 0, 6
Luminance
0.4900

Every format

HEX#cfacef
RGBrgb(207, 172, 239)
HSLhsl(271, 68%, 81%)
CMYKcmyk(13%, 28%, 0%, 6%)
LABlab(75.5 25.1 -28.7)
LCHlch(75.5 38.2 311.2)
OKLCHoklch(0.798 0.100 308.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfacef on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#cfacef on black: 10.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green67.5%
Blue93.7%

CMYK percentages

Cyan13.4%
Magenta28.0%
Yellow0.0%
Key (black)6.3%

Color previews

#cfacef text on a black background

contrast 10.80:1

Card sample

#cfacef text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfacef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfacef in the Color Lab