Skip to content

#cf9dfd

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

RGB
207, 157, 253
HSL
271°, 96%, 80%
CMYK
18, 38, 0, 1
Luminance
0.4447

Every format

HEX#cf9dfd
RGBrgb(207, 157, 253)
HSLhsl(271, 96%, 80%)
CMYKcmyk(18%, 38%, 0%, 1%)
LABlab(72.5 36.3 -40.8)
LCHlch(72.5 54.6 311.7)
OKLCHoklch(0.778 0.142 307.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf9dfd on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#cf9dfd on black: 9.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green61.6%
Blue99.2%

CMYK percentages

Cyan18.2%
Magenta37.9%
Yellow0.0%
Key (black)0.8%

Color previews

#cf9dfd text on a black background

contrast 9.89:1

Card sample

#cf9dfd text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf9dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf9dfd in the Color Lab