Skip to content

#cab0df

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

RGB
202, 176, 223
HSL
273°, 42%, 78%
CMYK
9, 21, 0, 13
Luminance
0.4893

Every format

HEX#cab0df
RGBrgb(202, 176, 223)
HSLhsl(273, 42%, 78%)
CMYKcmyk(9%, 21%, 0%, 13%)
LABlab(75.4 18.1 -20.1)
LCHlch(75.4 27.1 311.9)
OKLCHoklch(0.795 0.071 309.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cab0df on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#cab0df on black: 10.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green69.0%
Blue87.5%

CMYK percentages

Cyan9.4%
Magenta21.1%
Yellow0.0%
Key (black)12.5%

Color previews

#cab0df text on a black background

contrast 10.79:1

Card sample

#cab0df text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cab0df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cab0df in the Color Lab