Skip to content

#ccc0ff

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

RGB
204, 192, 255
HSL
251°, 100%, 88%
CMYK
20, 25, 0, 0
Luminance
0.5776

Every format

HEX#ccc0ff
RGBrgb(204, 192, 255)
HSLhsl(251, 100%, 88%)
CMYKcmyk(20%, 25%, 0%, 0%)
LABlab(80.6 16.8 -29.4)
LCHlch(80.6 33.9 299.7)
OKLCHoklch(0.839 0.088 293.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc0ff on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#ccc0ff on black: 12.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green75.3%
Blue100.0%

CMYK percentages

Cyan20.0%
Magenta24.7%
Yellow0.0%
Key (black)0.0%

Color previews

#ccc0ff text on a black background

contrast 12.55:1

Card sample

#ccc0ff text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc0ff in the Color Lab