Skip to content

#cfacfe

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

RGB
207, 172, 254
HSL
266°, 98%, 84%
CMYK
19, 32, 0, 0
Luminance
0.4993

Every format

HEX#cfacfe
RGBrgb(207, 172, 254)
HSLhsl(266, 98%, 84%)
CMYKcmyk(19%, 32%, 0%, 0%)
LABlab(76.0 28.3 -35.9)
LCHlch(76.0 45.8 308.3)
OKLCHoklch(0.804 0.119 303.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfacfe on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#cfacfe on black: 10.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green67.5%
Blue99.6%

CMYK percentages

Cyan18.5%
Magenta32.3%
Yellow0.0%
Key (black)0.4%

Color previews

#cfacfe text on a black background

contrast 10.99:1

Card sample

#cfacfe text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfacfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfacfe in the Color Lab