Skip to content

#ca3df0

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

RGB
202, 61, 240
HSL
287°, 86%, 59%
CMYK
16, 75, 0, 6
Luminance
0.2219

Every format

HEX#ca3df0
RGBrgb(202, 61, 240)
HSLhsl(287, 86%, 59%)
CMYKcmyk(16%, 75%, 0%, 6%)
LABlab(54.2 77.4 -62.7)
LCHlch(54.2 99.6 321.0)
OKLCHoklch(0.640 0.263 317.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ca3df0 on white: 3.86:1
AA ✗ fail · AA-large · AAA
Aa
#ca3df0 on black: 5.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green23.9%
Blue94.1%

CMYK percentages

Cyan15.8%
Magenta74.6%
Yellow0.0%
Key (black)5.9%

Color previews

#ca3df0 text on a black background

contrast 5.44:1

Card sample

#ca3df0 text on a white background

contrast 3.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ca3df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ca3df0 in the Color Lab