Skip to content

#cf5dff

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

RGB
207, 93, 255
HSL
282°, 100%, 68%
CMYK
19, 64, 0, 0
Luminance
0.2831

Every format

HEX#cf5dff
RGBrgb(207, 93, 255)
HSLhsl(282, 100%, 68%)
CMYKcmyk(19%, 64%, 0%, 0%)
LABlab(60.2 69.0 -61.5)
LCHlch(60.2 92.4 318.3)
OKLCHoklch(0.687 0.242 314.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf5dff on white: 3.15:1
AA ✗ fail · AA-large · AAA
Aa
#cf5dff on black: 6.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green36.5%
Blue100.0%

CMYK percentages

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

Color previews

#cf5dff text on a black background

contrast 6.66:1

Card sample

#cf5dff text on a white background

contrast 3.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf5dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf5dff in the Color Lab