Skip to content

#c2a5df

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

RGB
194, 165, 223
HSL
270°, 48%, 76%
CMYK
13, 26, 0, 13
Luminance
0.4371

Every format

HEX#c2a5df
RGBrgb(194, 165, 223)
HSLhsl(270, 48%, 76%)
CMYKcmyk(13%, 26%, 0%, 13%)
LABlab(72.0 21.5 -25.4)
LCHlch(72.0 33.3 310.3)
OKLCHoklch(0.767 0.087 307.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2a5df on white: 2.16:1
AA ✗ fail · AA-large · AAA
Aa
#c2a5df on black: 9.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green64.7%
Blue87.5%

CMYK percentages

Cyan13.0%
Magenta26.0%
Yellow0.0%
Key (black)12.5%

Color previews

#c2a5df text on a black background

contrast 9.74:1

Card sample

#c2a5df text on a white background

contrast 2.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2a5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2a5df in the Color Lab