Skip to content

#afadf0

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

RGB
175, 173, 240
HSL
242°, 69%, 81%
CMYK
27, 28, 0, 6
Luminance
0.4529

Every format

HEX#afadf0
RGBrgb(175, 173, 240)
HSLhsl(242, 69%, 81%)
CMYKcmyk(27%, 28%, 0%, 6%)
LABlab(73.1 15.2 -33.1)
LCHlch(73.1 36.4 294.6)
OKLCHoklch(0.774 0.095 285.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afadf0 on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#afadf0 on black: 10.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.8%
Blue94.1%

CMYK percentages

Cyan27.1%
Magenta27.9%
Yellow0.0%
Key (black)5.9%

Color previews

#afadf0 text on a black background

contrast 10.06:1

Card sample

#afadf0 text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afadf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afadf0 in the Color Lab