Skip to content

#cab1fd

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

RGB
202, 177, 253
HSL
260°, 95%, 84%
CMYK
20, 30, 0, 1
Luminance
0.5109

Every format

HEX#cab1fd
RGBrgb(202, 177, 253)
HSLhsl(260, 95%, 84%)
CMYKcmyk(20%, 30%, 0%, 1%)
LABlab(76.7 23.9 -34.3)
LCHlch(76.7 41.8 304.8)
OKLCHoklch(0.809 0.108 299.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cab1fd on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#cab1fd on black: 11.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green69.4%
Blue99.2%

CMYK percentages

Cyan20.2%
Magenta30.0%
Yellow0.0%
Key (black)0.8%

Color previews

#cab1fd text on a black background

contrast 11.22:1

Card sample

#cab1fd text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cab1fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cab1fd in the Color Lab