Skip to content

#ca55ff

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

RGB
202, 85, 255
HSL
281°, 100%, 67%
CMYK
21, 67, 0, 0
Luminance
0.2627

Every format

HEX#ca55ff
RGBrgb(202, 85, 255)
HSLhsl(281, 100%, 67%)
CMYKcmyk(21%, 67%, 0%, 0%)
LABlab(58.3 71.3 -64.5)
LCHlch(58.3 96.2 317.9)
OKLCHoklch(0.672 0.250 313.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ca55ff on white: 3.36:1
AA ✗ fail · AA-large · AAA
Aa
#ca55ff on black: 6.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green33.3%
Blue100.0%

CMYK percentages

Cyan20.8%
Magenta66.7%
Yellow0.0%
Key (black)0.0%

Color previews

#ca55ff text on a black background

contrast 6.25:1

Card sample

#ca55ff text on a white background

contrast 3.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ca55ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ca55ff in the Color Lab