Skip to content

#cbbaf1

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

RGB
203, 186, 241
HSL
259°, 66%, 84%
CMYK
16, 23, 0, 6
Luminance
0.5417

Every format

HEX#cbbaf1
RGBrgb(203, 186, 241)
HSLhsl(259, 66%, 84%)
CMYKcmyk(16%, 23%, 0%, 6%)
LABlab(78.6 16.7 -25.1)
LCHlch(78.6 30.1 303.6)
OKLCHoklch(0.822 0.078 298.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbbaf1 on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#cbbaf1 on black: 11.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green72.9%
Blue94.5%

CMYK percentages

Cyan15.8%
Magenta22.8%
Yellow0.0%
Key (black)5.5%

Color previews

#cbbaf1 text on a black background

contrast 11.83:1

Card sample

#cbbaf1 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbbaf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbbaf1 in the Color Lab