Skip to content

#cab4df

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

RGB
202, 180, 223
HSL
271°, 40%, 79%
CMYK
9, 19, 0, 13
Luminance
0.5053

Every format

HEX#cab4df
RGBrgb(202, 180, 223)
HSLhsl(271, 40%, 79%)
CMYKcmyk(9%, 19%, 0%, 13%)
LABlab(76.4 15.9 -18.7)
LCHlch(76.4 24.5 310.4)
OKLCHoklch(0.803 0.064 308.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cab4df on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#cab4df on black: 11.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green70.6%
Blue87.5%

CMYK percentages

Cyan9.4%
Magenta19.3%
Yellow0.0%
Key (black)12.5%

Color previews

#cab4df text on a black background

contrast 11.11:1

Card sample

#cab4df text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cab4df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cab4df in the Color Lab