Skip to content

#cfacff

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

RGB
207, 172, 255
HSL
265°, 100%, 84%
CMYK
19, 33, 0, 0
Luminance
0.4999

Every format

HEX#cfacff
RGBrgb(207, 172, 255)
HSLhsl(265, 100%, 84%)
CMYKcmyk(19%, 33%, 0%, 0%)
LABlab(76.1 28.6 -36.4)
LCHlch(76.1 46.3 308.1)
OKLCHoklch(0.805 0.120 303.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green67.5%
Blue100.0%

CMYK percentages

Cyan18.8%
Magenta32.5%
Yellow0.0%
Key (black)0.0%

Color previews

#cfacff text on a black background

contrast 11.00:1

Card sample

#cfacff text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfacff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfacff in the Color Lab