Skip to content

#c080ff

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

RGB
192, 128, 255
HSL
270°, 100%, 75%
CMYK
25, 50, 0, 0
Luminance
0.3386

Every format

HEX#c080ff
RGBrgb(192, 128, 255)
HSLhsl(270, 100%, 75%)
CMYKcmyk(25%, 50%, 0%, 0%)
LABlab(64.9 48.3 -54.1)
LCHlch(64.9 72.5 311.7)
OKLCHoklch(0.717 0.186 305.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c080ff on white: 2.70:1
AA ✗ fail · AA-large · AAA
Aa
#c080ff on black: 7.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green50.2%
Blue100.0%

CMYK percentages

Cyan24.7%
Magenta49.8%
Yellow0.0%
Key (black)0.0%

Color previews

#c080ff text on a black background

contrast 7.77:1

Card sample

#c080ff text on a white background

contrast 2.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c080ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c080ff in the Color Lab