Skip to content

#c2afdf

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

RGB
194, 175, 223
HSL
264°, 43%, 78%
CMYK
13, 22, 0, 13
Luminance
0.4746

Every format

HEX#c2afdf
RGBrgb(194, 175, 223)
HSLhsl(264, 43%, 78%)
CMYKcmyk(13%, 22%, 0%, 13%)
LABlab(74.5 16.0 -21.6)
LCHlch(74.5 26.9 306.5)
OKLCHoklch(0.786 0.070 302.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2afdf on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#c2afdf on black: 10.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green68.6%
Blue87.5%

CMYK percentages

Cyan13.0%
Magenta21.5%
Yellow0.0%
Key (black)12.5%

Color previews

#c2afdf text on a black background

contrast 10.49:1

Card sample

#c2afdf text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2afdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2afdf in the Color Lab