Skip to content

#caaafd

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

RGB
202, 170, 253
HSL
263°, 95%, 83%
CMYK
20, 33, 0, 1
Luminance
0.4840

Every format

HEX#caaafd
RGBrgb(202, 170, 253)
HSLhsl(263, 95%, 83%)
CMYKcmyk(20%, 33%, 0%, 1%)
LABlab(75.1 27.7 -36.9)
LCHlch(75.1 46.2 306.9)
OKLCHoklch(0.796 0.120 301.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caaafd on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#caaafd on black: 10.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green66.7%
Blue99.2%

CMYK percentages

Cyan20.2%
Magenta32.8%
Yellow0.0%
Key (black)0.8%

Color previews

#caaafd text on a black background

contrast 10.68:1

Card sample

#caaafd text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caaafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caaafd in the Color Lab