Skip to content

#c0a5df

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

RGB
192, 165, 223
HSL
268°, 48%, 76%
CMYK
14, 26, 0, 13
Luminance
0.4344

Every format

HEX#c0a5df
RGBrgb(192, 165, 223)
HSLhsl(268, 48%, 76%)
CMYKcmyk(14%, 26%, 0%, 13%)
LABlab(71.9 20.9 -25.6)
LCHlch(71.9 33.1 309.2)
OKLCHoklch(0.765 0.086 305.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0a5df on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#c0a5df on black: 9.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green64.7%
Blue87.5%

CMYK percentages

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

Color previews

#c0a5df text on a black background

contrast 9.69:1

Card sample

#c0a5df text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0a5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0a5df in the Color Lab