Skip to content

#afacfe

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

RGB
175, 172, 254
HSL
242°, 98%, 84%
CMYK
31, 32, 0, 0
Luminance
0.4577

Every format

HEX#afacfe
RGBrgb(175, 172, 254)
HSLhsl(242, 98%, 84%)
CMYKcmyk(31%, 32%, 0%, 0%)
LABlab(73.4 19.1 -40.2)
LCHlch(73.4 44.5 295.4)
OKLCHoklch(0.778 0.116 285.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green67.5%
Blue99.6%

CMYK percentages

Cyan31.1%
Magenta32.3%
Yellow0.0%
Key (black)0.4%

Color previews

#afacfe text on a black background

contrast 10.15:1

Card sample

#afacfe text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afacfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afacfe in the Color Lab