Skip to content

#caa7df

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

RGB
202, 167, 223
HSL
278°, 47%, 77%
CMYK
9, 25, 0, 13
Luminance
0.4552

Every format

HEX#caa7df
RGBrgb(202, 167, 223)
HSLhsl(278, 47%, 77%)
CMYKcmyk(9%, 25%, 0%, 13%)
LABlab(73.2 23.0 -23.5)
LCHlch(73.2 32.8 314.4)
OKLCHoklch(0.778 0.087 312.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caa7df on white: 2.08:1
AA ✗ fail · AA-large · AAA
Aa
#caa7df on black: 10.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green65.5%
Blue87.5%

CMYK percentages

Cyan9.4%
Magenta25.1%
Yellow0.0%
Key (black)12.5%

Color previews

#caa7df text on a black background

contrast 10.10:1

Card sample

#caa7df text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caa7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caa7df in the Color Lab