Skip to content

#c24df4

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

RGB
194, 77, 244
HSL
282°, 88%, 63%
CMYK
21, 68, 0, 4
Luminance
0.2331

Every format

HEX#c24df4
RGBrgb(194, 77, 244)
HSLhsl(282, 88%, 63%)
CMYKcmyk(21%, 68%, 0%, 4%)
LABlab(55.4 70.8 -63.1)
LCHlch(55.4 94.8 318.3)
OKLCHoklch(0.646 0.247 313.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c24df4 on white: 3.71:1
AA ✗ fail · AA-large · AAA
Aa
#c24df4 on black: 5.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green30.2%
Blue95.7%

CMYK percentages

Cyan20.5%
Magenta68.4%
Yellow0.0%
Key (black)4.3%

Color previews

#c24df4 text on a black background

contrast 5.66:1

Card sample

#c24df4 text on a white background

contrast 3.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 77, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 77, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c24df4;
background: linear-gradient(135deg, #c24df4, #F44DB7);

Monochromatic scale

Palettes built from #c24df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c24df4 in the Color Lab