Skip to content

#c2accc

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

RGB
194, 172, 204
HSL
281°, 24%, 74%
CMYK
5, 16, 0, 20
Luminance
0.4533

Every format

HEX#c2accc
RGBrgb(194, 172, 204)
HSLhsl(281, 24%, 74%)
CMYKcmyk(5%, 16%, 0%, 20%)
LABlab(73.1 13.8 -13.3)
LCHlch(73.1 19.2 316.0)
OKLCHoklch(0.773 0.051 315.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2accc on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#c2accc on black: 10.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green67.5%
Blue80.0%

CMYK percentages

Cyan4.9%
Magenta15.7%
Yellow0.0%
Key (black)20.0%

Color previews

#c2accc text on a black background

contrast 10.07:1

Card sample

#c2accc text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2accc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2accc in the Color Lab