Skip to content

#afadfa

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

RGB
175, 173, 250
HSL
242°, 89%, 83%
CMYK
30, 31, 0, 2
Luminance
0.4590

Every format

HEX#afadfa
RGBrgb(175, 173, 250)
HSLhsl(242, 89%, 83%)
CMYKcmyk(30%, 31%, 0%, 2%)
LABlab(73.5 17.6 -37.9)
LCHlch(73.5 41.8 294.9)
OKLCHoklch(0.778 0.109 284.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green67.8%
Blue98.0%

CMYK percentages

Cyan30.0%
Magenta30.8%
Yellow0.0%
Key (black)2.0%

Color previews

#afadfa text on a black background

contrast 10.18:1

Card sample

#afadfa text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afadfa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afadfa in the Color Lab