Skip to content

#cf09fd

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

RGB
207, 9, 253
HSL
289°, 98%, 51%
CMYK
18, 96, 0, 1
Luminance
0.2055

Every format

HEX#cf09fd
RGBrgb(207, 9, 253)
HSLhsl(289, 98%, 51%)
CMYKcmyk(18%, 96%, 0%, 1%)
LABlab(52.5 90.4 -72.8)
LCHlch(52.5 116.1 321.2)
OKLCHoklch(0.632 0.304 317.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf09fd on white: 4.11:1
AA ✗ fail · AA-large · AAA
Aa
#cf09fd on black: 5.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green3.5%
Blue99.2%

CMYK percentages

Cyan18.2%
Magenta96.4%
Yellow0.0%
Key (black)0.8%

Color previews

#cf09fd text on a black background

contrast 5.11:1

Card sample

#cf09fd text on a white background

contrast 4.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf09fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf09fd in the Color Lab