Skip to content

#c93dfd

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

RGB
201, 61, 253
HSL
284°, 98%, 62%
CMYK
21, 76, 0, 1
Luminance
0.2285

Every format

HEX#c93dfd
RGBrgb(201, 61, 253)
HSLhsl(284, 98%, 62%)
CMYKcmyk(21%, 76%, 0%, 1%)
LABlab(54.9 79.6 -68.9)
LCHlch(54.9 105.3 319.1)
OKLCHoklch(0.647 0.274 314.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c93dfd on white: 3.77:1
AA ✗ fail · AA-large · AAA
Aa
#c93dfd on black: 5.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green23.9%
Blue99.2%

CMYK percentages

Cyan20.6%
Magenta75.9%
Yellow0.0%
Key (black)0.8%

Color previews

#c93dfd text on a black background

contrast 5.57:1

Card sample

#c93dfd text on a white background

contrast 3.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c93dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c93dfd in the Color Lab