Skip to content

#cf5dfd

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

RGB
207, 93, 253
HSL
283°, 98%, 68%
CMYK
18, 63, 0, 1
Luminance
0.2819

Every format

HEX#cf5dfd
RGBrgb(207, 93, 253)
HSLhsl(283, 98%, 68%)
CMYKcmyk(18%, 63%, 0%, 1%)
LABlab(60.1 68.6 -60.5)
LCHlch(60.1 91.5 318.6)
OKLCHoklch(0.685 0.240 314.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf5dfd on white: 3.16:1
AA ✗ fail · AA-large · AAA
Aa
#cf5dfd on black: 6.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green36.5%
Blue99.2%

CMYK percentages

Cyan18.2%
Magenta63.2%
Yellow0.0%
Key (black)0.8%

Color previews

#cf5dfd text on a black background

contrast 6.64:1

Card sample

#cf5dfd text on a white background

contrast 3.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf5dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf5dfd in the Color Lab