Skip to content

#c4affc

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

RGB
196, 175, 252
HSL
256°, 93%, 84%
CMYK
22, 31, 0, 1
Luminance
0.4942

Every format

HEX#c4affc
RGBrgb(196, 175, 252)
HSLhsl(256, 93%, 84%)
CMYKcmyk(22%, 31%, 0%, 1%)
LABlab(75.7 23.0 -35.4)
LCHlch(75.7 42.2 303.0)
OKLCHoklch(0.800 0.109 296.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c4affc on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#c4affc on black: 10.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green68.6%
Blue98.8%

CMYK percentages

Cyan22.2%
Magenta30.6%
Yellow0.0%
Key (black)1.2%

Color previews

#c4affc text on a black background

contrast 10.88:1

Card sample

#c4affc text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c4affc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c4affc in the Color Lab