Skip to content

#cbbaf9

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

RGB
203, 186, 249
HSL
256°, 84%, 85%
CMYK
19, 25, 0, 2
Luminance
0.5465

Every format

HEX#cbbaf9
RGBrgb(203, 186, 249)
HSLhsl(256, 84%, 85%)
CMYKcmyk(19%, 25%, 0%, 2%)
LABlab(78.8 18.4 -28.9)
LCHlch(78.8 34.3 302.4)
OKLCHoklch(0.825 0.089 296.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbbaf9 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#cbbaf9 on black: 11.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green72.9%
Blue97.6%

CMYK percentages

Cyan18.5%
Magenta25.3%
Yellow0.0%
Key (black)2.4%

Color previews

#cbbaf9 text on a black background

contrast 11.93:1

Card sample

#cbbaf9 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbbaf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbbaf9 in the Color Lab