Skip to content

#cbafdf

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

RGB
203, 175, 223
HSL
275°, 43%, 78%
CMYK
9, 22, 0, 13
Luminance
0.4868

Every format

HEX#cbafdf
RGBrgb(203, 175, 223)
HSLhsl(275, 43%, 78%)
CMYKcmyk(9%, 22%, 0%, 13%)
LABlab(75.3 18.9 -20.4)
LCHlch(75.3 27.8 312.9)
OKLCHoklch(0.794 0.073 311.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbafdf on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#cbafdf on black: 10.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green68.6%
Blue87.5%

CMYK percentages

Cyan9.0%
Magenta21.5%
Yellow0.0%
Key (black)12.5%

Color previews

#cbafdf text on a black background

contrast 10.74:1

Card sample

#cbafdf text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbafdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbafdf in the Color Lab