Skip to content

#cbacf8

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

RGB
203, 172, 248
HSL
265°, 84%, 82%
CMYK
18, 31, 0, 3
Luminance
0.4898

Every format

HEX#cbacf8
RGBrgb(203, 172, 248)
HSLhsl(265, 84%, 82%)
CMYKcmyk(18%, 31%, 0%, 3%)
LABlab(75.4 25.8 -33.6)
LCHlch(75.4 42.4 307.5)
OKLCHoklch(0.798 0.110 302.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.6%
Green67.5%
Blue97.3%

CMYK percentages

Cyan18.1%
Magenta30.6%
Yellow0.0%
Key (black)2.7%

Color previews

#cbacf8 text on a black background

contrast 10.80:1

Card sample

#cbacf8 text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbacf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbacf8 in the Color Lab