Skip to content

#ceabfc

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

RGB
206, 171, 252
HSL
266°, 93%, 83%
CMYK
18, 32, 0, 1
Luminance
0.4928

Every format

HEX#ceabfc
RGBrgb(206, 171, 252)
HSLhsl(266, 93%, 83%)
CMYKcmyk(18%, 32%, 0%, 1%)
LABlab(75.6 28.2 -35.5)
LCHlch(75.6 45.3 308.4)
OKLCHoklch(0.801 0.118 303.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceabfc on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#ceabfc on black: 10.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green67.1%
Blue98.8%

CMYK percentages

Cyan18.3%
Magenta32.1%
Yellow0.0%
Key (black)1.2%

Color previews

#ceabfc text on a black background

contrast 10.86:1

Card sample

#ceabfc text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceabfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceabfc in the Color Lab