Skip to content

#cfacf3

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

RGB
207, 172, 243
HSL
270°, 75%, 81%
CMYK
15, 29, 0, 5
Luminance
0.4924

Every format

HEX#cfacf3
RGBrgb(207, 172, 243)
HSLhsl(270, 75%, 81%)
CMYKcmyk(15%, 29%, 0%, 5%)
LABlab(75.6 26.0 -30.7)
LCHlch(75.6 40.2 310.3)
OKLCHoklch(0.800 0.105 306.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green67.5%
Blue95.3%

CMYK percentages

Cyan14.8%
Magenta29.2%
Yellow0.0%
Key (black)4.7%

Color previews

#cfacf3 text on a black background

contrast 10.85:1

Card sample

#cfacf3 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfacf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfacf3 in the Color Lab