Skip to content

#c7abdb

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

RGB
199, 171, 219
HSL
275°, 40%, 77%
CMYK
9, 22, 0, 14
Luminance
0.4638

Every format

HEX#c7abdb
RGBrgb(199, 171, 219)
HSLhsl(275, 40%, 77%)
CMYKcmyk(9%, 22%, 0%, 14%)
LABlab(73.8 19.0 -20.4)
LCHlch(73.8 27.9 312.9)
OKLCHoklch(0.781 0.073 311.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red78.0%
Green67.1%
Blue85.9%

CMYK percentages

Cyan9.1%
Magenta21.9%
Yellow0.0%
Key (black)14.1%

Color previews

#c7abdb text on a black background

contrast 10.28:1

Card sample

#c7abdb text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c7abdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c7abdb in the Color Lab