Skip to content

#cbafd2

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

RGB
203, 175, 210
HSL
288°, 28%, 76%
CMYK
3, 17, 0, 18
Luminance
0.4801

Every format

HEX#cbafd2
RGBrgb(203, 175, 210)
HSLhsl(288, 28%, 76%)
CMYKcmyk(3%, 17%, 0%, 18%)
LABlab(74.8 16.4 -13.9)
LCHlch(74.8 21.5 319.5)
OKLCHoklch(0.789 0.058 319.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbafd2 on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#cbafd2 on black: 10.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green68.6%
Blue82.4%

CMYK percentages

Cyan3.3%
Magenta16.7%
Yellow0.0%
Key (black)17.6%

Color previews

#cbafd2 text on a black background

contrast 10.60:1

Card sample

#cbafd2 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbafd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbafd2 in the Color Lab