Skip to content

#ca49ff

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

RGB
202, 73, 255
HSL
283°, 100%, 64%
CMYK
21, 71, 0, 0
Luminance
0.2454

Every format

HEX#ca49ff
RGBrgb(202, 73, 255)
HSLhsl(283, 100%, 64%)
CMYKcmyk(21%, 71%, 0%, 0%)
LABlab(56.6 76.0 -67.2)
LCHlch(56.6 101.5 318.5)
OKLCHoklch(0.660 0.264 314.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ca49ff on white: 3.55:1
AA ✗ fail · AA-large · AAA
Aa
#ca49ff on black: 5.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green28.6%
Blue100.0%

CMYK percentages

Cyan20.8%
Magenta71.4%
Yellow0.0%
Key (black)0.0%

Color previews

#ca49ff text on a black background

contrast 5.91:1

Card sample

#ca49ff text on a white background

contrast 3.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ca49ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ca49ff in the Color Lab