Skip to content

#caaaf2

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

RGB
202, 170, 242
HSL
267°, 74%, 81%
CMYK
17, 30, 0, 5
Luminance
0.4772

Every format

HEX#caaaf2
RGBrgb(202, 170, 242)
HSLhsl(267, 74%, 81%)
CMYKcmyk(17%, 30%, 0%, 5%)
LABlab(74.7 25.3 -31.6)
LCHlch(74.7 40.5 308.7)
OKLCHoklch(0.791 0.105 304.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caaaf2 on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#caaaf2 on black: 10.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green66.7%
Blue94.9%

CMYK percentages

Cyan16.5%
Magenta29.8%
Yellow0.0%
Key (black)5.1%

Color previews

#caaaf2 text on a black background

contrast 10.54:1

Card sample

#caaaf2 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caaaf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caaaf2 in the Color Lab