Skip to content

#cfc5f5

a pale, vivid blue · warm · closest name: lavender

RGB
207, 197, 245
HSL
253°, 71%, 87%
CMYK
16, 20, 0, 4
Luminance
0.5979

Every format

HEX#cfc5f5
RGBrgb(207, 197, 245)
HSLhsl(253, 71%, 87%)
CMYKcmyk(16%, 20%, 0%, 4%)
LABlab(81.7 12.8 -22.4)
LCHlch(81.7 25.8 299.8)
OKLCHoklch(0.847 0.067 294.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfc5f5 on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#cfc5f5 on black: 12.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green77.3%
Blue96.1%

CMYK percentages

Cyan15.5%
Magenta19.6%
Yellow0.0%
Key (black)3.9%

Color previews

#cfc5f5 text on a black background

contrast 12.96:1

Card sample

#cfc5f5 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc5f5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc5f5 in the Color Lab