Skip to content

#c450ff

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

RGB
196, 80, 255
HSL
280°, 100%, 66%
CMYK
23, 69, 0, 0
Luminance
0.2469

Every format

HEX#c450ff
RGBrgb(196, 80, 255)
HSLhsl(280, 100%, 66%)
CMYKcmyk(23%, 69%, 0%, 0%)
LABlab(56.8 72.2 -67.0)
LCHlch(56.8 98.5 317.1)
OKLCHoklch(0.659 0.254 311.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c450ff on white: 3.54:1
AA ✗ fail · AA-large · AAA
Aa
#c450ff on black: 5.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green31.4%
Blue100.0%

CMYK percentages

Cyan23.1%
Magenta68.6%
Yellow0.0%
Key (black)0.0%

Color previews

#c450ff text on a black background

contrast 5.94:1

Card sample

#c450ff text on a white background

contrast 3.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(196, 80, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 80, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c450ff;
background: linear-gradient(135deg, #c450ff, #FF50C5);

Monochromatic scale

Palettes built from #c450ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c450ff in the Color Lab