Skip to content

#cf4ff4

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

RGB
207, 79, 244
HSL
287°, 88%, 63%
CMYK
15, 68, 0, 4
Luminance
0.2539

Every format

HEX#cf4ff4
RGBrgb(207, 79, 244)
HSLhsl(287, 88%, 63%)
CMYKcmyk(15%, 68%, 0%, 4%)
LABlab(57.5 72.7 -59.7)
LCHlch(57.5 94.1 320.6)
OKLCHoklch(0.665 0.249 317.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf4ff4 on white: 3.46:1
AA ✗ fail · AA-large · AAA
Aa
#cf4ff4 on black: 6.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green31.0%
Blue95.7%

CMYK percentages

Cyan15.2%
Magenta67.6%
Yellow0.0%
Key (black)4.3%

Color previews

#cf4ff4 text on a black background

contrast 6.08:1

Card sample

#cf4ff4 text on a white background

contrast 3.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf4ff4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf4ff4 in the Color Lab