Skip to content

#cebdf2

a light, vivid violet · warm · closest name: plum

RGB
206, 189, 242
HSL
259°, 67%, 85%
CMYK
15, 22, 0, 5
Luminance
0.5593

Every format

HEX#cebdf2
RGBrgb(206, 189, 242)
HSLhsl(259, 67%, 85%)
CMYKcmyk(15%, 22%, 0%, 5%)
LABlab(79.6 16.2 -24.1)
LCHlch(79.6 29.0 303.9)
OKLCHoklch(0.830 0.075 299.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cebdf2 on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#cebdf2 on black: 12.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green74.1%
Blue94.9%

CMYK percentages

Cyan14.9%
Magenta21.9%
Yellow0.0%
Key (black)5.1%

Color previews

#cebdf2 text on a black background

contrast 12.19:1

Card sample

#cebdf2 text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 189, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 189, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cebdf2;
background: linear-gradient(135deg, #cebdf2, #F1BDF2);

Monochromatic scale

Palettes built from #cebdf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cebdf2 in the Color Lab