Skip to content

#cebaf8

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

RGB
206, 186, 248
HSL
259°, 82%, 85%
CMYK
17, 25, 0, 3
Luminance
0.5502

Every format

HEX#cebaf8
RGBrgb(206, 186, 248)
HSLhsl(259, 82%, 85%)
CMYKcmyk(17%, 25%, 0%, 3%)
LABlab(79.0 19.1 -28.1)
LCHlch(79.0 33.9 304.2)
OKLCHoklch(0.827 0.088 299.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green72.9%
Blue97.3%

CMYK percentages

Cyan16.9%
Magenta25.0%
Yellow0.0%
Key (black)2.7%

Color previews

#cebaf8 text on a black background

contrast 12.00:1

Card sample

#cebaf8 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cebaf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cebaf8 in the Color Lab