Skip to content

#cfc2f8

a pale, electric blue · warm · closest name: plum

RGB
207, 194, 248
HSL
254°, 79%, 87%
CMYK
17, 22, 0, 3
Luminance
0.5863

Every format

HEX#cfc2f8
RGBrgb(207, 194, 248)
HSLhsl(254, 79%, 87%)
CMYKcmyk(17%, 22%, 0%, 3%)
LABlab(81.1 15.1 -24.9)
LCHlch(81.1 29.1 301.1)
OKLCHoklch(0.843 0.076 295.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfc2f8 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#cfc2f8 on black: 12.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green76.1%
Blue97.3%

CMYK percentages

Cyan16.5%
Magenta21.8%
Yellow0.0%
Key (black)2.7%

Color previews

#cfc2f8 text on a black background

contrast 12.73:1

Card sample

#cfc2f8 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc2f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc2f8 in the Color Lab