Skip to content

#cbacf0

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

RGB
203, 172, 240
HSL
267°, 69%, 81%
CMYK
15, 28, 0, 6
Luminance
0.4849

Every format

HEX#cbacf0
RGBrgb(203, 172, 240)
HSLhsl(267, 69%, 81%)
CMYKcmyk(15%, 28%, 0%, 6%)
LABlab(75.1 24.1 -29.8)
LCHlch(75.1 38.3 309.0)
OKLCHoklch(0.795 0.100 305.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbacf0 on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#cbacf0 on black: 10.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green67.5%
Blue94.1%

CMYK percentages

Cyan15.4%
Magenta28.3%
Yellow0.0%
Key (black)5.9%

Color previews

#cbacf0 text on a black background

contrast 10.70:1

Card sample

#cbacf0 text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbacf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbacf0 in the Color Lab