Skip to content

#c2baff

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

RGB
194, 186, 255
HSL
247°, 100%, 87%
CMYK
24, 27, 0, 0
Luminance
0.5381

Every format

HEX#c2baff
RGBrgb(194, 186, 255)
HSLhsl(247, 100%, 87%)
CMYKcmyk(24%, 27%, 0%, 0%)
LABlab(78.3 17.1 -33.0)
LCHlch(78.3 37.1 297.4)
OKLCHoklch(0.820 0.096 289.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2baff on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#c2baff on black: 11.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#c2baff text on a black background

contrast 11.76:1

Card sample

#c2baff text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2baff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2baff in the Color Lab