Skip to content

#ca4df4

a balanced, electric violet · warm · closest name: magenta

RGB
202, 77, 244
HSL
285°, 88%, 63%
CMYK
17, 68, 0, 4
Luminance
0.2440

Every format

HEX#ca4df4
RGBrgb(202, 77, 244)
HSLhsl(285, 88%, 63%)
CMYKcmyk(17%, 68%, 0%, 4%)
LABlab(56.5 72.4 -61.3)
LCHlch(56.5 94.9 319.7)
OKLCHoklch(0.657 0.249 316.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ca4df4 on white: 3.57:1
AA ✗ fail · AA-large · AAA
Aa
#ca4df4 on black: 5.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green30.2%
Blue95.7%

CMYK percentages

Cyan17.2%
Magenta68.4%
Yellow0.0%
Key (black)4.3%

Color previews

#ca4df4 text on a black background

contrast 5.88:1

Card sample

#ca4df4 text on a white background

contrast 3.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ca4df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ca4df4 in the Color Lab