Skip to content

#cebafa

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

RGB
206, 186, 250
HSL
259°, 87%, 86%
CMYK
18, 26, 0, 2
Luminance
0.5514

Every format

HEX#cebafa
RGBrgb(206, 186, 250)
HSLhsl(259, 87%, 86%)
CMYKcmyk(18%, 26%, 0%, 2%)
LABlab(79.1 19.5 -29.0)
LCHlch(79.1 35.0 303.9)
OKLCHoklch(0.828 0.091 298.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green72.9%
Blue98.0%

CMYK percentages

Cyan17.6%
Magenta25.6%
Yellow0.0%
Key (black)2.0%

Color previews

#cebafa text on a black background

contrast 12.03:1

Card sample

#cebafa text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cebafa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cebafa in the Color Lab