Skip to content

#afacfd

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

RGB
175, 172, 253
HSL
242°, 95%, 83%
CMYK
31, 32, 0, 1
Luminance
0.4571

Every format

HEX#afacfd
RGBrgb(175, 172, 253)
HSLhsl(242, 95%, 83%)
CMYKcmyk(31%, 32%, 0%, 1%)
LABlab(73.4 18.9 -39.8)
LCHlch(73.4 44.0 295.4)
OKLCHoklch(0.777 0.115 285.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan30.8%
Magenta32.0%
Yellow0.0%
Key (black)0.8%

Color previews

#afacfd text on a black background

contrast 10.14:1

Card sample

#afacfd text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afacfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afacfd in the Color Lab