Skip to content

#cf98db

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

RGB
207, 152, 219
HSL
289°, 48%, 73%
CMYK
6, 31, 0, 14
Luminance
0.4084

Every format

HEX#cf98db
RGBrgb(207, 152, 219)
HSLhsl(289, 48%, 73%)
CMYKcmyk(6%, 31%, 0%, 14%)
LABlab(70.1 32.0 -26.1)
LCHlch(70.1 41.3 320.8)
OKLCHoklch(0.755 0.111 320.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf98db on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#cf98db on black: 9.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green59.6%
Blue85.9%

CMYK percentages

Cyan5.5%
Magenta30.6%
Yellow0.0%
Key (black)14.1%

Color previews

#cf98db text on a black background

contrast 9.17:1

Card sample

#cf98db text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf98db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf98db in the Color Lab