Skip to content

#c2c7df

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

RGB
194, 199, 223
HSL
230°, 31%, 82%
CMYK
13, 11, 0, 13
Luminance
0.5764

Every format

HEX#c2c7df
RGBrgb(194, 199, 223)
HSLhsl(230, 31%, 82%)
CMYKcmyk(13%, 11%, 0%, 13%)
LABlab(80.5 3.0 -12.5)
LCHlch(80.5 12.8 283.6)
OKLCHoklch(0.833 0.034 276.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2c7df on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#c2c7df on black: 12.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green78.0%
Blue87.5%

CMYK percentages

Cyan13.0%
Magenta10.8%
Yellow0.0%
Key (black)12.5%

Color previews

#c2c7df text on a black background

contrast 12.53:1

Card sample

#c2c7df text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2c7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2c7df in the Color Lab