Skip to content

#cb98df

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

RGB
203, 152, 223
HSL
283°, 53%, 74%
CMYK
9, 32, 0, 13
Luminance
0.4048

Every format

HEX#cb98df
RGBrgb(203, 152, 223)
HSLhsl(283, 53%, 74%)
CMYKcmyk(9%, 32%, 0%, 13%)
LABlab(69.8 31.5 -28.7)
LCHlch(69.8 42.6 317.7)
OKLCHoklch(0.752 0.113 316.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb98df on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#cb98df on black: 9.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green59.6%
Blue87.5%

CMYK percentages

Cyan9.0%
Magenta31.8%
Yellow0.0%
Key (black)12.5%

Color previews

#cb98df text on a black background

contrast 9.10:1

Card sample

#cb98df text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb98df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb98df in the Color Lab