Skip to content

#cab9df

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

RGB
202, 185, 223
HSL
267°, 37%, 80%
CMYK
9, 17, 0, 13
Luminance
0.5258

Every format

HEX#cab9df
RGBrgb(202, 185, 223)
HSLhsl(267, 37%, 80%)
CMYKcmyk(9%, 17%, 0%, 13%)
LABlab(77.6 13.2 -16.8)
LCHlch(77.6 21.3 308.1)
OKLCHoklch(0.812 0.056 305.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cab9df on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#cab9df on black: 11.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green72.5%
Blue87.5%

CMYK percentages

Cyan9.4%
Magenta17.0%
Yellow0.0%
Key (black)12.5%

Color previews

#cab9df text on a black background

contrast 11.52:1

Card sample

#cab9df text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cab9df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cab9df in the Color Lab