Skip to content

#caa6df

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

RGB
202, 166, 223
HSL
278°, 47%, 76%
CMYK
9, 26, 0, 13
Luminance
0.4516

Every format

HEX#caa6df
RGBrgb(202, 166, 223)
HSLhsl(278, 47%, 76%)
CMYKcmyk(9%, 26%, 0%, 13%)
LABlab(73.0 23.5 -23.8)
LCHlch(73.0 33.5 314.6)
OKLCHoklch(0.776 0.088 312.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caa6df on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#caa6df on black: 10.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#caa6df text on a black background

contrast 10.03:1

Card sample

#caa6df text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caa6df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caa6df in the Color Lab