Skip to content

#cf93fc

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

RGB
207, 147, 252
HSL
274°, 95%, 78%
CMYK
18, 42, 0, 1
Luminance
0.4116

Every format

HEX#cf93fc
RGBrgb(207, 147, 252)
HSLhsl(274, 95%, 78%)
CMYKcmyk(18%, 42%, 0%, 1%)
LABlab(70.3 41.5 -43.8)
LCHlch(70.3 60.3 313.5)
OKLCHoklch(0.761 0.157 309.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf93fc on white: 2.27:1
AA ✗ fail · AA-large · AAA
Aa
#cf93fc on black: 9.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green57.6%
Blue98.8%

CMYK percentages

Cyan17.9%
Magenta41.7%
Yellow0.0%
Key (black)1.2%

Color previews

#cf93fc text on a black background

contrast 9.23:1

Card sample

#cf93fc text on a white background

contrast 2.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf93fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf93fc in the Color Lab