Skip to content

#c14df2

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

RGB
193, 77, 242
HSL
282°, 86%, 63%
CMYK
20, 68, 0, 5
Luminance
0.2306

Every format

HEX#c14df2
RGBrgb(193, 77, 242)
HSLhsl(282, 86%, 63%)
CMYKcmyk(20%, 68%, 0%, 5%)
LABlab(55.1 70.2 -62.5)
LCHlch(55.1 93.9 318.3)
OKLCHoklch(0.644 0.244 314.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c14df2 on white: 3.74:1
AA ✗ fail · AA-large · AAA
Aa
#c14df2 on black: 5.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.7%
Green30.2%
Blue94.9%

CMYK percentages

Cyan20.2%
Magenta68.2%
Yellow0.0%
Key (black)5.1%

Color previews

#c14df2 text on a black background

contrast 5.61:1

Card sample

#c14df2 text on a white background

contrast 3.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c14df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c14df2 in the Color Lab