Skip to content

#caaaff

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

RGB
202, 170, 255
HSL
263°, 100%, 83%
CMYK
21, 33, 0, 0
Luminance
0.4853

Every format

HEX#caaaff
RGBrgb(202, 170, 255)
HSLhsl(263, 100%, 83%)
CMYKcmyk(21%, 33%, 0%, 0%)
LABlab(75.2 28.2 -37.9)
LCHlch(75.2 47.2 306.7)
OKLCHoklch(0.797 0.122 301.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caaaff on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#caaaff on black: 10.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green66.7%
Blue100.0%

CMYK percentages

Cyan20.8%
Magenta33.3%
Yellow0.0%
Key (black)0.0%

Color previews

#caaaff text on a black background

contrast 10.71:1

Card sample

#caaaff text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caaaff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caaaff in the Color Lab