Skip to content

#cbafe9

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

RGB
203, 175, 233
HSL
269°, 57%, 80%
CMYK
13, 25, 0, 9
Luminance
0.4924

Every format

HEX#cbafe9
RGBrgb(203, 175, 233)
HSLhsl(269, 57%, 80%)
CMYKcmyk(13%, 25%, 0%, 9%)
LABlab(75.6 21.0 -25.3)
LCHlch(75.6 32.9 309.7)
OKLCHoklch(0.798 0.086 306.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbafe9 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#cbafe9 on black: 10.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green68.6%
Blue91.4%

CMYK percentages

Cyan12.9%
Magenta24.9%
Yellow0.0%
Key (black)8.6%

Color previews

#cbafe9 text on a black background

contrast 10.85:1

Card sample

#cbafe9 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbafe9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbafe9 in the Color Lab