Skip to content

#cebaf0

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

RGB
206, 186, 240
HSL
262°, 64%, 84%
CMYK
14, 23, 0, 6
Luminance
0.5453

Every format

HEX#cebaf0
RGBrgb(206, 186, 240)
HSLhsl(262, 64%, 84%)
CMYKcmyk(14%, 23%, 0%, 6%)
LABlab(78.8 17.4 -24.2)
LCHlch(78.8 29.8 305.7)
OKLCHoklch(0.824 0.077 301.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cebaf0 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#cebaf0 on black: 11.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green72.9%
Blue94.1%

CMYK percentages

Cyan14.2%
Magenta22.5%
Yellow0.0%
Key (black)5.9%

Color previews

#cebaf0 text on a black background

contrast 11.91:1

Card sample

#cebaf0 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cebaf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cebaf0 in the Color Lab