Skip to content

#cbbaf4

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

RGB
203, 186, 244
HSL
258°, 73%, 84%
CMYK
17, 24, 0, 4
Luminance
0.5435

Every format

HEX#cbbaf4
RGBrgb(203, 186, 244)
HSLhsl(258, 73%, 84%)
CMYKcmyk(17%, 24%, 0%, 4%)
LABlab(78.7 17.3 -26.5)
LCHlch(78.7 31.7 303.1)
OKLCHoklch(0.823 0.082 298.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.6%
Green72.9%
Blue95.7%

CMYK percentages

Cyan16.8%
Magenta23.8%
Yellow0.0%
Key (black)4.3%

Color previews

#cbbaf4 text on a black background

contrast 11.87:1

Card sample

#cbbaf4 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbbaf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbbaf4 in the Color Lab