Skip to content

#ccc2ff

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

RGB
204, 194, 255
HSL
250°, 100%, 88%
CMYK
20, 24, 0, 0
Luminance
0.5864

Every format

HEX#ccc2ff
RGBrgb(204, 194, 255)
HSLhsl(250, 100%, 88%)
CMYKcmyk(20%, 24%, 0%, 0%)
LABlab(81.1 15.7 -28.7)
LCHlch(81.1 32.7 298.7)
OKLCHoklch(0.843 0.085 292.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc2ff on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#ccc2ff on black: 12.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green76.1%
Blue100.0%

CMYK percentages

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

Color previews

#ccc2ff text on a black background

contrast 12.73:1

Card sample

#ccc2ff text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc2ff in the Color Lab