Skip to content

#cbbafe

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

RGB
203, 186, 254
HSL
255°, 97%, 86%
CMYK
20, 27, 0, 0
Luminance
0.5497

Every format

HEX#cbbafe
RGBrgb(203, 186, 254)
HSLhsl(255, 97%, 86%)
CMYKcmyk(20%, 27%, 0%, 0%)
LABlab(79.0 19.5 -31.3)
LCHlch(79.0 36.9 301.9)
OKLCHoklch(0.827 0.096 295.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbbafe on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#cbbafe on black: 11.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green72.9%
Blue99.6%

CMYK percentages

Cyan20.1%
Magenta26.8%
Yellow0.0%
Key (black)0.4%

Color previews

#cbbafe text on a black background

contrast 11.99:1

Card sample

#cbbafe text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbbafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbbafe in the Color Lab