Skip to content

#c0abcc

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

RGB
192, 171, 204
HSL
278°, 24%, 74%
CMYK
6, 16, 0, 20
Luminance
0.4469

Every format

HEX#c0abcc
RGBrgb(192, 171, 204)
HSLhsl(278, 24%, 74%)
CMYKcmyk(6%, 16%, 0%, 20%)
LABlab(72.7 13.7 -14.0)
LCHlch(72.7 19.5 314.4)
OKLCHoklch(0.770 0.052 313.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0abcc on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#c0abcc on black: 9.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green67.1%
Blue80.0%

CMYK percentages

Cyan5.9%
Magenta16.2%
Yellow0.0%
Key (black)20.0%

Color previews

#c0abcc text on a black background

contrast 9.94:1

Card sample

#c0abcc text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0abcc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0abcc in the Color Lab