Skip to content

#cbacfc

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

RGB
203, 172, 252
HSL
263°, 93%, 83%
CMYK
19, 32, 0, 1
Luminance
0.4923

Every format

HEX#cbacfc
RGBrgb(203, 172, 252)
HSLhsl(263, 93%, 83%)
CMYKcmyk(19%, 32%, 0%, 1%)
LABlab(75.6 26.7 -35.6)
LCHlch(75.6 44.5 306.9)
OKLCHoklch(0.800 0.115 301.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbacfc on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#cbacfc on black: 10.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green67.5%
Blue98.8%

CMYK percentages

Cyan19.4%
Magenta31.7%
Yellow0.0%
Key (black)1.2%

Color previews

#cbacfc text on a black background

contrast 10.85:1

Card sample

#cbacfc text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbacfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbacfc in the Color Lab