Skip to content

#cab2df

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

RGB
202, 178, 223
HSL
272°, 41%, 79%
CMYK
9, 20, 0, 13
Luminance
0.4973

Every format

HEX#cab2df
RGBrgb(202, 178, 223)
HSLhsl(272, 41%, 79%)
CMYKcmyk(9%, 20%, 0%, 13%)
LABlab(75.9 16.9 -19.4)
LCHlch(75.9 25.8 311.1)
OKLCHoklch(0.799 0.068 308.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cab2df on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#cab2df on black: 10.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green69.8%
Blue87.5%

CMYK percentages

Cyan9.4%
Magenta20.2%
Yellow0.0%
Key (black)12.5%

Color previews

#cab2df text on a black background

contrast 10.95:1

Card sample

#cab2df text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cab2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cab2df in the Color Lab