Skip to content

#c9baff

a pale, electric blue · warm · closest name: plum

RGB
201, 186, 255
HSL
253°, 100%, 87%
CMYK
21, 27, 0, 0
Luminance
0.5476

Every format

HEX#c9baff
RGBrgb(201, 186, 255)
HSLhsl(253, 100%, 87%)
CMYKcmyk(21%, 27%, 0%, 0%)
LABlab(78.9 19.1 -32.1)
LCHlch(78.9 37.4 300.8)
OKLCHoklch(0.825 0.097 294.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c9baff on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#c9baff on black: 11.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green72.9%
Blue100.0%

CMYK percentages

Cyan21.2%
Magenta27.1%
Yellow0.0%
Key (black)0.0%

Color previews

#c9baff text on a black background

contrast 11.95:1

Card sample

#c9baff text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c9baff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c9baff in the Color Lab