Skip to content

#c080f9

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

RGB
192, 128, 249
HSL
272°, 91%, 74%
CMYK
23, 49, 0, 2
Luminance
0.3348

Every format

HEX#c080f9
RGBrgb(192, 128, 249)
HSLhsl(272, 91%, 74%)
CMYKcmyk(23%, 49%, 0%, 2%)
LABlab(64.5 46.9 -51.3)
LCHlch(64.5 69.5 312.4)
OKLCHoklch(0.714 0.179 306.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c080f9 on white: 2.73:1
AA ✗ fail · AA-large · AAA
Aa
#c080f9 on black: 7.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green50.2%
Blue97.6%

CMYK percentages

Cyan22.9%
Magenta48.6%
Yellow0.0%
Key (black)2.4%

Color previews

#c080f9 text on a black background

contrast 7.70:1

Card sample

#c080f9 text on a white background

contrast 2.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c080f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c080f9 in the Color Lab