Skip to content

#c2c2ff

a pale, electric blue · warm · closest name: plum

RGB
194, 194, 255
HSL
240°, 100%, 88%
CMYK
24, 24, 0, 0
Luminance
0.5727

Every format

HEX#c2c2ff
RGBrgb(194, 194, 255)
HSLhsl(240, 100%, 88%)
CMYKcmyk(24%, 24%, 0%, 0%)
LABlab(80.3 12.7 -29.9)
LCHlch(80.3 32.5 293.0)
OKLCHoklch(0.835 0.085 284.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2c2ff on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#c2c2ff on black: 12.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green76.1%
Blue100.0%

CMYK percentages

Cyan23.9%
Magenta23.9%
Yellow0.0%
Key (black)0.0%

Color previews

#c2c2ff text on a black background

contrast 12.45:1

Card sample

#c2c2ff text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2c2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2c2ff in the Color Lab