Skip to content

#cb9cf4

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

RGB
203, 156, 244
HSL
272°, 80%, 78%
CMYK
17, 36, 0, 4
Luminance
0.4301

Every format

HEX#cb9cf4
RGBrgb(203, 156, 244)
HSLhsl(272, 80%, 78%)
CMYKcmyk(17%, 36%, 0%, 4%)
LABlab(71.6 33.7 -37.5)
LCHlch(71.6 50.4 312.0)
OKLCHoklch(0.768 0.132 308.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb9cf4 on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#cb9cf4 on black: 9.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green61.2%
Blue95.7%

CMYK percentages

Cyan16.8%
Magenta36.1%
Yellow0.0%
Key (black)4.3%

Color previews

#cb9cf4 text on a black background

contrast 9.60:1

Card sample

#cb9cf4 text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb9cf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb9cf4 in the Color Lab