Skip to content

#cf82fd

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

RGB
207, 130, 253
HSL
278°, 97%, 75%
CMYK
18, 49, 0, 1
Luminance
0.3632

Every format

HEX#cf82fd
RGBrgb(207, 130, 253)
HSLhsl(278, 97%, 75%)
CMYKcmyk(18%, 49%, 0%, 1%)
LABlab(66.8 50.7 -49.9)
LCHlch(66.8 71.1 315.5)
OKLCHoklch(0.735 0.186 311.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf82fd on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#cf82fd on black: 8.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green51.0%
Blue99.2%

CMYK percentages

Cyan18.2%
Magenta48.6%
Yellow0.0%
Key (black)0.8%

Color previews

#cf82fd text on a black background

contrast 8.26:1

Card sample

#cf82fd text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf82fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf82fd in the Color Lab