Skip to content

#c7c1df

a light, soft blue · warm · closest name: lavender

RGB
199, 193, 223
HSL
252°, 32%, 82%
CMYK
11, 14, 0, 13
Luminance
0.5561

Every format

HEX#c7c1df
RGBrgb(199, 193, 223)
HSLhsl(252, 32%, 82%)
CMYKcmyk(11%, 14%, 0%, 13%)
LABlab(79.4 7.8 -14.2)
LCHlch(79.4 16.2 299.0)
OKLCHoklch(0.825 0.042 294.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c7c1df on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#c7c1df on black: 12.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.0%
Green75.7%
Blue87.5%

CMYK percentages

Cyan10.8%
Magenta13.5%
Yellow0.0%
Key (black)12.5%

Color previews

#c7c1df text on a black background

contrast 12.12:1

Card sample

#c7c1df text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(199, 193, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 193, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c7c1df;
background: linear-gradient(135deg, #c7c1df, #DBC1DF);

Monochromatic scale

Palettes built from #c7c1df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c7c1df in the Color Lab