Skip to content

#c2c2f4

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

RGB
194, 194, 244
HSL
240°, 69%, 86%
CMYK
21, 21, 0, 4
Luminance
0.5658

Every format

HEX#c2c2f4
RGBrgb(194, 194, 244)
HSLhsl(240, 69%, 86%)
CMYKcmyk(21%, 21%, 0%, 4%)
LABlab(79.9 10.2 -24.6)
LCHlch(79.9 26.7 292.5)
OKLCHoklch(0.831 0.070 284.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2c2f4 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#c2c2f4 on black: 12.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green76.1%
Blue95.7%

CMYK percentages

Cyan20.5%
Magenta20.5%
Yellow0.0%
Key (black)4.3%

Color previews

#c2c2f4 text on a black background

contrast 12.32:1

Card sample

#c2c2f4 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2c2f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2c2f4 in the Color Lab