Skip to content

#cb9df0

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

RGB
203, 157, 240
HSL
273°, 74%, 78%
CMYK
15, 35, 0, 6
Luminance
0.4310

Every format

HEX#cb9df0
RGBrgb(203, 157, 240)
HSLhsl(273, 74%, 78%)
CMYKcmyk(15%, 35%, 0%, 6%)
LABlab(71.6 32.3 -35.2)
LCHlch(71.6 47.8 312.5)
OKLCHoklch(0.768 0.125 309.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb9df0 on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#cb9df0 on black: 9.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green61.6%
Blue94.1%

CMYK percentages

Cyan15.4%
Magenta34.6%
Yellow0.0%
Key (black)5.9%

Color previews

#cb9df0 text on a black background

contrast 9.62:1

Card sample

#cb9df0 text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb9df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb9df0 in the Color Lab