Skip to content

#c3a2df

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

RGB
195, 162, 223
HSL
273°, 49%, 76%
CMYK
13, 27, 0, 13
Luminance
0.4277

Every format

HEX#c3a2df
RGBrgb(195, 162, 223)
HSLhsl(273, 49%, 76%)
CMYKcmyk(13%, 27%, 0%, 13%)
LABlab(71.4 23.5 -26.3)
LCHlch(71.4 35.3 311.8)
OKLCHoklch(0.763 0.092 308.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c3a2df on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#c3a2df on black: 9.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.5%
Green63.5%
Blue87.5%

CMYK percentages

Cyan12.6%
Magenta27.4%
Yellow0.0%
Key (black)12.5%

Color previews

#c3a2df text on a black background

contrast 9.55:1

Card sample

#c3a2df text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c3a2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c3a2df in the Color Lab