Skip to content

#c2c2df

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

RGB
194, 194, 223
HSL
240°, 31%, 82%
CMYK
13, 13, 0, 13
Luminance
0.5538

Every format

HEX#c2c2df
RGBrgb(194, 194, 223)
HSLhsl(240, 31%, 82%)
CMYKcmyk(13%, 13%, 0%, 13%)
LABlab(79.3 5.7 -14.4)
LCHlch(79.3 15.5 291.6)
OKLCHoklch(0.823 0.040 285.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2c2df on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#c2c2df on black: 12.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green76.1%
Blue87.5%

CMYK percentages

Cyan13.0%
Magenta13.0%
Yellow0.0%
Key (black)12.5%

Color previews

#c2c2df text on a black background

contrast 12.08:1

Card sample

#c2c2df text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2c2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2c2df in the Color Lab