Skip to content

#c4baff

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

RGB
196, 186, 255
HSL
249°, 100%, 87%
CMYK
23, 27, 0, 0
Luminance
0.5407

Every format

HEX#c4baff
RGBrgb(196, 186, 255)
HSLhsl(249, 100%, 87%)
CMYKcmyk(23%, 27%, 0%, 0%)
LABlab(78.5 17.6 -32.7)
LCHlch(78.5 37.2 298.3)
OKLCHoklch(0.821 0.097 290.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c4baff on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#c4baff on black: 11.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green72.9%
Blue100.0%

CMYK percentages

Cyan23.1%
Magenta27.1%
Yellow0.0%
Key (black)0.0%

Color previews

#c4baff text on a black background

contrast 11.81:1

Card sample

#c4baff text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c4baff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c4baff in the Color Lab