Skip to content

#cf64f3

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

RGB
207, 100, 243
HSL
285°, 86%, 67%
CMYK
15, 59, 0, 5
Luminance
0.2885

Every format

HEX#cf64f3
RGBrgb(207, 100, 243)
HSLhsl(285, 86%, 67%)
CMYKcmyk(15%, 59%, 0%, 5%)
LABlab(60.6 63.5 -54.1)
LCHlch(60.6 83.4 319.6)
OKLCHoklch(0.688 0.221 316.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf64f3 on white: 3.10:1
AA ✗ fail · AA-large · AAA
Aa
#cf64f3 on black: 6.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green39.2%
Blue95.3%

CMYK percentages

Cyan14.8%
Magenta58.8%
Yellow0.0%
Key (black)4.7%

Color previews

#cf64f3 text on a black background

contrast 6.77:1

Card sample

#cf64f3 text on a white background

contrast 3.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf64f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf64f3 in the Color Lab