Skip to content

#cfacfc

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

RGB
207, 172, 252
HSL
266°, 93%, 83%
CMYK
18, 32, 0, 1
Luminance
0.4980

Every format

HEX#cfacfc
RGBrgb(207, 172, 252)
HSLhsl(266, 93%, 83%)
CMYKcmyk(18%, 32%, 0%, 1%)
LABlab(76.0 27.9 -35.0)
LCHlch(76.0 44.8 308.6)
OKLCHoklch(0.804 0.116 304.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfacfc on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#cfacfc on black: 10.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green67.5%
Blue98.8%

CMYK percentages

Cyan17.9%
Magenta31.7%
Yellow0.0%
Key (black)1.2%

Color previews

#cfacfc text on a black background

contrast 10.96:1

Card sample

#cfacfc text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfacfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfacfc in the Color Lab