Skip to content

#cbabfc

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

RGB
203, 171, 252
HSL
264°, 93%, 83%
CMYK
19, 32, 0, 1
Luminance
0.4885

Every format

HEX#cbabfc
RGBrgb(203, 171, 252)
HSLhsl(264, 93%, 83%)
CMYKcmyk(19%, 32%, 0%, 1%)
LABlab(75.4 27.3 -35.9)
LCHlch(75.4 45.1 307.2)
OKLCHoklch(0.798 0.117 302.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.6%
Green67.1%
Blue98.8%

CMYK percentages

Cyan19.4%
Magenta32.1%
Yellow0.0%
Key (black)1.2%

Color previews

#cbabfc text on a black background

contrast 10.77:1

Card sample

#cbabfc text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbabfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbabfc in the Color Lab