Skip to content

#cbabfe

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

RGB
203, 171, 254
HSL
263°, 98%, 83%
CMYK
20, 33, 0, 0
Luminance
0.4898

Every format

HEX#cbabfe
RGBrgb(203, 171, 254)
HSLhsl(263, 98%, 83%)
CMYKcmyk(20%, 33%, 0%, 0%)
LABlab(75.4 27.7 -36.9)
LCHlch(75.4 46.1 306.9)
OKLCHoklch(0.799 0.119 301.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbabfe on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#cbabfe on black: 10.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green67.1%
Blue99.6%

CMYK percentages

Cyan20.1%
Magenta32.7%
Yellow0.0%
Key (black)0.4%

Color previews

#cbabfe text on a black background

contrast 10.80:1

Card sample

#cbabfe text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbabfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbabfe in the Color Lab