Skip to content

#cab4eb

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

RGB
202, 180, 235
HSL
264°, 58%, 81%
CMYK
14, 23, 0, 8
Luminance
0.5120

Every format

HEX#cab4eb
RGBrgb(202, 180, 235)
HSLhsl(264, 58%, 81%)
CMYKcmyk(14%, 23%, 0%, 8%)
LABlab(76.8 18.4 -24.5)
LCHlch(76.8 30.6 306.8)
OKLCHoklch(0.807 0.080 302.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.2%
Green70.6%
Blue92.2%

CMYK percentages

Cyan14.0%
Magenta23.4%
Yellow0.0%
Key (black)7.8%

Color previews

#cab4eb text on a black background

contrast 11.24:1

Card sample

#cab4eb text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cab4eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cab4eb in the Color Lab