Skip to content

#cb9fee

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

RGB
203, 159, 238
HSL
273°, 70%, 78%
CMYK
15, 33, 0, 7
Luminance
0.4367

Every format

HEX#cb9fee
RGBrgb(203, 159, 238)
HSLhsl(273, 70%, 78%)
CMYKcmyk(15%, 33%, 0%, 7%)
LABlab(72.0 30.8 -33.5)
LCHlch(72.0 45.5 312.6)
OKLCHoklch(0.771 0.119 309.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb9fee on white: 2.16:1
AA ✗ fail · AA-large · AAA
Aa
#cb9fee on black: 9.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green62.4%
Blue93.3%

CMYK percentages

Cyan14.7%
Magenta33.2%
Yellow0.0%
Key (black)6.7%

Color previews

#cb9fee text on a black background

contrast 9.73:1

Card sample

#cb9fee text on a white background

contrast 2.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb9fee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb9fee in the Color Lab