Skip to content

#cf80fc

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

RGB
207, 128, 252
HSL
278°, 95%, 75%
CMYK
18, 49, 0, 1
Luminance
0.3573

Every format

HEX#cf80fc
RGBrgb(207, 128, 252)
HSLhsl(278, 95%, 75%)
CMYKcmyk(18%, 49%, 0%, 1%)
LABlab(66.3 51.5 -50.0)
LCHlch(66.3 71.8 315.8)
OKLCHoklch(0.731 0.188 312.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf80fc on white: 2.58:1
AA ✗ fail · AA-large · AAA
Aa
#cf80fc on black: 8.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green50.2%
Blue98.8%

CMYK percentages

Cyan17.9%
Magenta49.2%
Yellow0.0%
Key (black)1.2%

Color previews

#cf80fc text on a black background

contrast 8.15:1

Card sample

#cf80fc text on a white background

contrast 2.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf80fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf80fc in the Color Lab