Skip to content

#c2abec

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

RGB
194, 171, 236
HSL
261°, 63%, 80%
CMYK
18, 28, 0, 8
Luminance
0.4665

Every format

HEX#c2abec
RGBrgb(194, 171, 236)
HSLhsl(261, 63%, 80%)
CMYKcmyk(18%, 28%, 0%, 8%)
LABlab(74.0 21.0 -29.5)
LCHlch(74.0 36.2 305.5)
OKLCHoklch(0.784 0.094 300.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2abec on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#c2abec on black: 10.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green67.1%
Blue92.5%

CMYK percentages

Cyan17.8%
Magenta27.5%
Yellow0.0%
Key (black)7.5%

Color previews

#c2abec text on a black background

contrast 10.33:1

Card sample

#c2abec text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2abec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2abec in the Color Lab