Skip to content

#c080fe

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

RGB
192, 128, 254
HSL
271°, 98%, 75%
CMYK
24, 50, 0, 0
Luminance
0.3380

Every format

HEX#c080fe
RGBrgb(192, 128, 254)
HSLhsl(271, 98%, 75%)
CMYKcmyk(24%, 50%, 0%, 0%)
LABlab(64.8 48.0 -53.6)
LCHlch(64.8 72.0 311.9)
OKLCHoklch(0.717 0.185 305.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c080fe on white: 2.71:1
AA ✗ fail · AA-large · AAA
Aa
#c080fe on black: 7.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green50.2%
Blue99.6%

CMYK percentages

Cyan24.4%
Magenta49.6%
Yellow0.0%
Key (black)0.4%

Color previews

#c080fe text on a black background

contrast 7.76:1

Card sample

#c080fe text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c080fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c080fe in the Color Lab