Skip to content

#caa5df

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

RGB
202, 165, 223
HSL
278°, 48%, 76%
CMYK
9, 26, 0, 13
Luminance
0.4479

Every format

HEX#caa5df
RGBrgb(202, 165, 223)
HSLhsl(278, 48%, 76%)
CMYKcmyk(9%, 26%, 0%, 13%)
LABlab(72.8 24.1 -24.2)
LCHlch(72.8 34.1 314.9)
OKLCHoklch(0.774 0.090 313.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caa5df on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#caa5df on black: 9.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green64.7%
Blue87.5%

CMYK percentages

Cyan9.4%
Magenta26.0%
Yellow0.0%
Key (black)12.5%

Color previews

#caa5df text on a black background

contrast 9.96:1

Card sample

#caa5df text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caa5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caa5df in the Color Lab