Skip to content

#afacfc

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

RGB
175, 172, 252
HSL
242°, 93%, 83%
CMYK
31, 32, 0, 1
Luminance
0.4565

Every format

HEX#afacfc
RGBrgb(175, 172, 252)
HSLhsl(242, 93%, 83%)
CMYKcmyk(31%, 32%, 0%, 1%)
LABlab(73.3 18.6 -39.3)
LCHlch(73.3 43.5 295.4)
OKLCHoklch(0.777 0.113 285.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afacfc on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#afacfc on black: 10.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.5%
Blue98.8%

CMYK percentages

Cyan30.6%
Magenta31.7%
Yellow0.0%
Key (black)1.2%

Color previews

#afacfc text on a black background

contrast 10.13:1

Card sample

#afacfc text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afacfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afacfc in the Color Lab