Skip to content

#c8affc

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

RGB
200, 175, 252
HSL
260°, 93%, 84%
CMYK
21, 31, 0, 1
Luminance
0.4997

Every format

HEX#c8affc
RGBrgb(200, 175, 252)
HSLhsl(260, 93%, 84%)
CMYKcmyk(21%, 31%, 0%, 1%)
LABlab(76.0 24.2 -34.9)
LCHlch(76.0 42.4 304.7)
OKLCHoklch(0.803 0.110 298.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c8affc on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#c8affc on black: 10.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green68.6%
Blue98.8%

CMYK percentages

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

Color previews

#c8affc text on a black background

contrast 10.99:1

Card sample

#c8affc text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c8affc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8affc in the Color Lab