Skip to content

#caaaf8

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

RGB
202, 170, 248
HSL
265°, 85%, 82%
CMYK
19, 32, 0, 3
Luminance
0.4808

Every format

HEX#caaaf8
RGBrgb(202, 170, 248)
HSLhsl(265, 85%, 82%)
CMYKcmyk(19%, 32%, 0%, 3%)
LABlab(74.9 26.6 -34.5)
LCHlch(74.9 43.6 307.6)
OKLCHoklch(0.794 0.113 302.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caaaf8 on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#caaaf8 on black: 10.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green66.7%
Blue97.3%

CMYK percentages

Cyan18.5%
Magenta31.5%
Yellow0.0%
Key (black)2.7%

Color previews

#caaaf8 text on a black background

contrast 10.62:1

Card sample

#caaaf8 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caaaf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caaaf8 in the Color Lab