Skip to content

#ca9df4

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

RGB
202, 157, 244
HSL
271°, 80%, 79%
CMYK
17, 36, 0, 4
Luminance
0.4320

Every format

HEX#ca9df4
RGBrgb(202, 157, 244)
HSLhsl(271, 80%, 79%)
CMYKcmyk(17%, 36%, 0%, 4%)
LABlab(71.7 32.9 -37.3)
LCHlch(71.7 49.7 311.4)
OKLCHoklch(0.769 0.130 307.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ca9df4 on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#ca9df4 on black: 9.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green61.6%
Blue95.7%

CMYK percentages

Cyan17.2%
Magenta35.7%
Yellow0.0%
Key (black)4.3%

Color previews

#ca9df4 text on a black background

contrast 9.64:1

Card sample

#ca9df4 text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ca9df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ca9df4 in the Color Lab