Skip to content

#c3affc

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

RGB
195, 175, 252
HSL
256°, 93%, 84%
CMYK
23, 31, 0, 1
Luminance
0.4929

Every format

HEX#c3affc
RGBrgb(195, 175, 252)
HSLhsl(256, 93%, 84%)
CMYKcmyk(23%, 31%, 0%, 1%)
LABlab(75.6 22.7 -35.6)
LCHlch(75.6 42.2 302.6)
OKLCHoklch(0.799 0.109 295.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.5%
Green68.6%
Blue98.8%

CMYK percentages

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

Color previews

#c3affc text on a black background

contrast 10.86:1

Card sample

#c3affc text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c3affc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c3affc in the Color Lab