Skip to content

#c2a0df

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

RGB
194, 160, 223
HSL
272°, 50%, 75%
CMYK
13, 28, 0, 13
Luminance
0.4194

Every format

HEX#c2a0df
RGBrgb(194, 160, 223)
HSLhsl(272, 50%, 75%)
CMYKcmyk(13%, 28%, 0%, 13%)
LABlab(70.8 24.3 -27.2)
LCHlch(70.8 36.5 311.8)
OKLCHoklch(0.758 0.096 308.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2a0df on white: 2.24:1
AA ✗ fail · AA-large · AAA
Aa
#c2a0df on black: 9.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green62.7%
Blue87.5%

CMYK percentages

Cyan13.0%
Magenta28.3%
Yellow0.0%
Key (black)12.5%

Color previews

#c2a0df text on a black background

contrast 9.39:1

Card sample

#c2a0df text on a white background

contrast 2.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2a0df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2a0df in the Color Lab