Skip to content

#cf5cff

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

RGB
207, 92, 255
HSL
282°, 100%, 68%
CMYK
19, 64, 0, 0
Luminance
0.2814

Every format

HEX#cf5cff
RGBrgb(207, 92, 255)
HSLhsl(282, 100%, 68%)
CMYKcmyk(19%, 64%, 0%, 0%)
LABlab(60.0 69.4 -61.7)
LCHlch(60.0 92.9 318.4)
OKLCHoklch(0.685 0.243 314.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf5cff on white: 3.17:1
AA ✗ fail · AA-large · AAA
Aa
#cf5cff on black: 6.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green36.1%
Blue100.0%

CMYK percentages

Cyan18.8%
Magenta63.9%
Yellow0.0%
Key (black)0.0%

Color previews

#cf5cff text on a black background

contrast 6.63:1

Card sample

#cf5cff text on a white background

contrast 3.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf5cff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf5cff in the Color Lab