Skip to content
Kolorvia
#afa2ec

Color #afa2ec

A moderately saturated light blue.

Conversions

HEX
#afa2ec
RGB
rgb(175, 162, 236)
HSL
hsl(250.5, 66.1%, 78%)
HSV / HSB
hsv(250.5, 31.4%, 92.5%)
CMYK
cmyk(25.8%, 31.4%, 0%, 7.5%)
LAB
lab(70.18, 20.33, -35.45)
LCH
lch(70.18, 40.87, 299.83)
OKLCH
oklch(75.1%, 0.1058, 291.69)
HWB
hwb(250.5, 63.5%, 7.5%)

Harmony colors

Complementary

#dfeca2

Analogous

#a2baec
#afa2ec
#d4a2ec

Triadic

#afa2ec
#ecafa2
#a2ecaf

Split-complementary

#afa2ec
#ecd4a2
#baeca2

Tetradic

#afa2ec
#eca2df
#dfeca2
#a2ecaf

Square

#afa2ec
#eca2ba
#dfeca2
#a2ecd4

Shades

Color #afa2ec mixed toward black.

#7f6be1
#5034d6
#3922a5
#26166e
#130b37

Tints

Color #afa2ec mixed toward white.

#bcb1ef
#cac1f2
#d7d0f5
#e4e0f9
#f2effc

Tones

Color #afa2ec mixed toward gray.

#b3a8e6
#b7aee0
#bbb4d9
#bfbbd3
#c3c1cd

Accessibility

Aa White text on this color
2.28:1
Aa Black text on this color
9.2:1

Black text reads better on this background (9.2:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#aaa9dd · ΔE 4.6

Deuteranopia

#aaabd9 · ΔE 5.9

Tritanopia

#aed0cd · ΔE 26.3

Achromatopsia

#acacac · ΔE 22.1

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #afa2ec;
Tailwind (arbitrary value)
bg-[#afa2ec]

Related colors

Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Medium Purple #9370db
Navy #000080
Lavender #e6e6fa

Frequently asked questions

#afa2ec (#afa2ec) is rgb(175, 162, 236) in RGB.

No, #afa2ec is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #afa2ec, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.