Skip to content

#ca5df0

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

RGB
202, 93, 240
HSL
285°, 83%, 65%
CMYK
16, 61, 0, 6
Luminance
0.2668

Every format

HEX#ca5df0
RGBrgb(202, 93, 240)
HSLhsl(285, 83%, 65%)
CMYKcmyk(16%, 61%, 0%, 6%)
LABlab(58.7 64.9 -55.6)
LCHlch(58.7 85.5 319.4)
OKLCHoklch(0.672 0.226 316.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ca5df0 on white: 3.31:1
AA ✗ fail · AA-large · AAA
Aa
#ca5df0 on black: 6.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green36.5%
Blue94.1%

CMYK percentages

Cyan15.8%
Magenta61.2%
Yellow0.0%
Key (black)5.9%

Color previews

#ca5df0 text on a black background

contrast 6.34:1

Card sample

#ca5df0 text on a white background

contrast 3.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ca5df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ca5df0 in the Color Lab