Skip to content

#c2abeb

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

RGB
194, 171, 235
HSL
262°, 62%, 80%
CMYK
17, 27, 0, 8
Luminance
0.4659

Every format

HEX#c2abeb
RGBrgb(194, 171, 235)
HSLhsl(262, 62%, 80%)
CMYKcmyk(17%, 27%, 0%, 8%)
LABlab(73.9 20.8 -29.0)
LCHlch(73.9 35.7 305.7)
OKLCHoklch(0.783 0.093 300.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2abeb on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#c2abeb on black: 10.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green67.1%
Blue92.2%

CMYK percentages

Cyan17.4%
Magenta27.2%
Yellow0.0%
Key (black)7.8%

Color previews

#c2abeb text on a black background

contrast 10.32:1

Card sample

#c2abeb text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2abeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2abeb in the Color Lab