Skip to content

#cebaf9

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

RGB
206, 186, 249
HSL
259°, 84%, 85%
CMYK
17, 25, 0, 2
Luminance
0.5508

Every format

HEX#cebaf9
RGBrgb(206, 186, 249)
HSLhsl(259, 84%, 85%)
CMYKcmyk(17%, 25%, 0%, 2%)
LABlab(79.1 19.3 -28.6)
LCHlch(79.1 34.5 304.1)
OKLCHoklch(0.827 0.089 299.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cebaf9 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#cebaf9 on black: 12.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green72.9%
Blue97.6%

CMYK percentages

Cyan17.3%
Magenta25.3%
Yellow0.0%
Key (black)2.4%

Color previews

#cebaf9 text on a black background

contrast 12.02:1

Card sample

#cebaf9 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cebaf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cebaf9 in the Color Lab