Skip to content

#c03df0

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

RGB
192, 61, 240
HSL
284°, 86%, 59%
CMYK
20, 75, 0, 6
Luminance
0.2084

Every format

HEX#c03df0
RGBrgb(192, 61, 240)
HSLhsl(284, 86%, 59%)
CMYKcmyk(20%, 75%, 0%, 6%)
LABlab(52.8 75.5 -65.1)
LCHlch(52.8 99.8 319.2)
OKLCHoklch(0.627 0.260 315.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c03df0 on white: 4.06:1
AA ✗ fail · AA-large · AAA
Aa
#c03df0 on black: 5.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green23.9%
Blue94.1%

CMYK percentages

Cyan20.0%
Magenta74.6%
Yellow0.0%
Key (black)5.9%

Color previews

#c03df0 text on a black background

contrast 5.17:1

Card sample

#c03df0 text on a white background

contrast 4.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c03df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c03df0 in the Color Lab