Skip to content

#c0affc

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

RGB
192, 175, 252
HSL
253°, 93%, 84%
CMYK
24, 31, 0, 1
Luminance
0.4889

Every format

HEX#c0affc
RGBrgb(192, 175, 252)
HSLhsl(253, 93%, 84%)
CMYKcmyk(24%, 31%, 0%, 1%)
LABlab(75.4 21.8 -36.0)
LCHlch(75.4 42.1 301.3)
OKLCHoklch(0.796 0.109 293.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0affc on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#c0affc on black: 10.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green68.6%
Blue98.8%

CMYK percentages

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

Color previews

#c0affc text on a black background

contrast 10.78:1

Card sample

#c0affc text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0affc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0affc in the Color Lab