Skip to content

#cebaf4

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

RGB
206, 186, 244
HSL
261°, 73%, 84%
CMYK
16, 24, 0, 4
Luminance
0.5477

Every format

HEX#cebaf4
RGBrgb(206, 186, 244)
HSLhsl(261, 73%, 84%)
CMYKcmyk(16%, 24%, 0%, 4%)
LABlab(78.9 18.2 -26.1)
LCHlch(78.9 31.9 304.9)
OKLCHoklch(0.825 0.083 300.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green72.9%
Blue95.7%

CMYK percentages

Cyan15.6%
Magenta23.8%
Yellow0.0%
Key (black)4.3%

Color previews

#cebaf4 text on a black background

contrast 11.95:1

Card sample

#cebaf4 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cebaf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cebaf4 in the Color Lab