Skip to content

#cbafdb

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

RGB
203, 175, 219
HSL
278°, 38%, 77%
CMYK
7, 20, 0, 14
Luminance
0.4847

Every format

HEX#cbafdb
RGBrgb(203, 175, 219)
HSLhsl(278, 38%, 77%)
CMYKcmyk(7%, 20%, 0%, 14%)
LABlab(75.1 18.1 -18.4)
LCHlch(75.1 25.8 314.5)
OKLCHoklch(0.792 0.068 313.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.6%
Green68.6%
Blue85.9%

CMYK percentages

Cyan7.3%
Magenta20.1%
Yellow0.0%
Key (black)14.1%

Color previews

#cbafdb text on a black background

contrast 10.69:1

Card sample

#cbafdb text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbafdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbafdb in the Color Lab