Skip to content

#c2affc

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

RGB
194, 175, 252
HSL
255°, 93%, 84%
CMYK
23, 31, 0, 1
Luminance
0.4916

Every format

HEX#c2affc
RGBrgb(194, 175, 252)
HSLhsl(255, 93%, 84%)
CMYKcmyk(23%, 31%, 0%, 1%)
LABlab(75.5 22.4 -35.7)
LCHlch(75.5 42.1 302.1)
OKLCHoklch(0.798 0.109 295.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2affc on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#c2affc on black: 10.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green68.6%
Blue98.8%

CMYK percentages

Cyan23.0%
Magenta30.6%
Yellow0.0%
Key (black)1.2%

Color previews

#c2affc text on a black background

contrast 10.83:1

Card sample

#c2affc text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2affc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2affc in the Color Lab