Skip to content

#c9b8f1

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

RGB
201, 184, 241
HSL
258°, 67%, 83%
CMYK
17, 24, 0, 6
Luminance
0.5305

Every format

HEX#c9b8f1
RGBrgb(201, 184, 241)
HSLhsl(258, 67%, 83%)
CMYKcmyk(17%, 24%, 0%, 6%)
LABlab(77.9 17.1 -26.1)
LCHlch(77.9 31.2 303.3)
OKLCHoklch(0.816 0.081 298.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c9b8f1 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#c9b8f1 on black: 11.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green72.2%
Blue94.5%

CMYK percentages

Cyan16.6%
Magenta23.7%
Yellow0.0%
Key (black)5.5%

Color previews

#c9b8f1 text on a black background

contrast 11.61:1

Card sample

#c9b8f1 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(201, 184, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(201, 184, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c9b8f1;
background: linear-gradient(135deg, #c9b8f1, #EFB8F1);

Monochromatic scale

Palettes built from #c9b8f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c9b8f1 in the Color Lab