Skip to content

#c5baff

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

RGB
197, 186, 255
HSL
250°, 100%, 87%
CMYK
23, 27, 0, 0
Luminance
0.5421

Every format

HEX#c5baff
RGBrgb(197, 186, 255)
HSLhsl(250, 100%, 87%)
CMYKcmyk(23%, 27%, 0%, 0%)
LABlab(78.6 17.9 -32.6)
LCHlch(78.6 37.2 298.8)
OKLCHoklch(0.822 0.097 291.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c5baff on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#c5baff on black: 11.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red77.3%
Green72.9%
Blue100.0%

CMYK percentages

Cyan22.7%
Magenta27.1%
Yellow0.0%
Key (black)0.0%

Color previews

#c5baff text on a black background

contrast 11.84:1

Card sample

#c5baff text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c5baff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c5baff in the Color Lab