Skip to content

#afaafe

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

RGB
175, 170, 254
HSL
244°, 98%, 83%
CMYK
31, 33, 0, 0
Luminance
0.4502

Every format

HEX#afaafe
RGBrgb(175, 170, 254)
HSLhsl(244, 98%, 83%)
CMYKcmyk(31%, 33%, 0%, 0%)
LABlab(72.9 20.3 -41.0)
LCHlch(72.9 45.7 296.3)
OKLCHoklch(0.774 0.119 286.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afaafe on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#afaafe on black: 10.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green66.7%
Blue99.6%

CMYK percentages

Cyan31.1%
Magenta33.1%
Yellow0.0%
Key (black)0.4%

Color previews

#afaafe text on a black background

contrast 10.00:1

Card sample

#afaafe text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afaafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afaafe in the Color Lab