Skip to content

#cf92fe

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

RGB
207, 146, 254
HSL
274°, 98%, 78%
CMYK
19, 43, 0, 0
Luminance
0.4098

Every format

HEX#cf92fe
RGBrgb(207, 146, 254)
HSLhsl(274, 98%, 78%)
CMYKcmyk(19%, 43%, 0%, 0%)
LABlab(70.2 42.5 -45.1)
LCHlch(70.2 61.9 313.3)
OKLCHoklch(0.760 0.161 309.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf92fe on white: 2.28:1
AA ✗ fail · AA-large · AAA
Aa
#cf92fe on black: 9.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green57.3%
Blue99.6%

CMYK percentages

Cyan18.5%
Magenta42.5%
Yellow0.0%
Key (black)0.4%

Color previews

#cf92fe text on a black background

contrast 9.20:1

Card sample

#cf92fe text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf92fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf92fe in the Color Lab