Skip to content

#c7abec

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

RGB
199, 171, 236
HSL
266°, 63%, 80%
CMYK
16, 28, 0, 8
Luminance
0.4732

Every format

HEX#c7abec
RGBrgb(199, 171, 236)
HSLhsl(266, 63%, 80%)
CMYKcmyk(16%, 28%, 0%, 8%)
LABlab(74.4 22.6 -28.8)
LCHlch(74.4 36.6 308.1)
OKLCHoklch(0.788 0.095 304.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c7abec on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#c7abec on black: 10.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.0%
Green67.1%
Blue92.5%

CMYK percentages

Cyan15.7%
Magenta27.5%
Yellow0.0%
Key (black)7.5%

Color previews

#c7abec text on a black background

contrast 10.46:1

Card sample

#c7abec text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c7abec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c7abec in the Color Lab