Skip to content

#cdc2ff

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

RGB
205, 194, 255
HSL
251°, 100%, 88%
CMYK
20, 24, 0, 0
Luminance
0.5878

Every format

HEX#cdc2ff
RGBrgb(205, 194, 255)
HSLhsl(251, 100%, 88%)
CMYKcmyk(20%, 24%, 0%, 0%)
LABlab(81.2 16.0 -28.6)
LCHlch(81.2 32.7 299.2)
OKLCHoklch(0.844 0.085 292.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan19.6%
Magenta23.9%
Yellow0.0%
Key (black)0.0%

Color previews

#cdc2ff text on a black background

contrast 12.76:1

Card sample

#cdc2ff text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdc2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdc2ff in the Color Lab