Skip to content

#cbafd9

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

RGB
203, 175, 217
HSL
280°, 36%, 77%
CMYK
7, 19, 0, 15
Luminance
0.4837

Every format

HEX#cbafd9
RGBrgb(203, 175, 217)
HSLhsl(280, 36%, 77%)
CMYKcmyk(7%, 19%, 0%, 15%)
LABlab(75.1 17.7 -17.4)
LCHlch(75.1 24.8 315.5)
OKLCHoklch(0.792 0.066 314.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbafd9 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#cbafd9 on black: 10.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green68.6%
Blue85.1%

CMYK percentages

Cyan6.5%
Magenta19.4%
Yellow0.0%
Key (black)14.9%

Color previews

#cbafd9 text on a black background

contrast 10.67:1

Card sample

#cbafd9 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbafd9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbafd9 in the Color Lab