Skip to content

#afadfb

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

RGB
175, 173, 251
HSL
242°, 91%, 83%
CMYK
30, 31, 0, 2
Luminance
0.4597

Every format

HEX#afadfb
RGBrgb(175, 173, 251)
HSLhsl(242, 91%, 83%)
CMYKcmyk(30%, 31%, 0%, 2%)
LABlab(73.5 17.8 -38.4)
LCHlch(73.5 42.4 294.9)
OKLCHoklch(0.778 0.110 284.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afadfb on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#afadfb on black: 10.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.8%
Blue98.4%

CMYK percentages

Cyan30.3%
Magenta31.1%
Yellow0.0%
Key (black)1.6%

Color previews

#afadfb text on a black background

contrast 10.19:1

Card sample

#afadfb text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afadfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afadfb in the Color Lab