Skip to content

#c080fd

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

RGB
192, 128, 253
HSL
271°, 97%, 75%
CMYK
24, 49, 0, 1
Luminance
0.3374

Every format

HEX#c080fd
RGBrgb(192, 128, 253)
HSLhsl(271, 97%, 75%)
CMYKcmyk(24%, 49%, 0%, 1%)
LABlab(64.8 47.8 -53.2)
LCHlch(64.8 71.5 312.0)
OKLCHoklch(0.716 0.184 305.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan24.1%
Magenta49.4%
Yellow0.0%
Key (black)0.8%

Color previews

#c080fd text on a black background

contrast 7.75:1

Card sample

#c080fd text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c080fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c080fd in the Color Lab