Skip to content
Kolorvia
#af4ecc

Color #af4ecc

A moderately saturated medium purple.

Conversions

HEX
#af4ecc
RGB
rgb(175, 78, 204)
HSL
hsl(286.2, 55.3%, 55.3%)
HSV / HSB
hsv(286.2, 61.8%, 80%)
CMYK
cmyk(14.2%, 61.8%, 0%, 20%)
LAB
lab(50.6, 58.23, -48.34)
LCH
lch(50.6, 75.68, 320.3)
OKLCH
oklch(59.9%, 0.2008, 317.68)
HWB
hwb(286.2, 30.6%, 20%)

Harmony colors

Complementary

#6bcc4e

Analogous

#704ecc
#af4ecc
#cc4eaa

Triadic

#af4ecc
#ccaf4e
#4eccaf

Split-complementary

#af4ecc
#aacc4e
#4ecc70

Tetradic

#af4ecc
#cc4e6b
#6bcc4e
#4eccaf

Square

#af4ecc
#cc704e
#6bcc4e
#4eaacc

Shades

Color #af4ecc mixed toward black.

#9935b6
#7a2a92
#5c206d
#3d1549
#1f0b24

Tints

Color #af4ecc mixed toward white.

#bc6bd5
#ca89dd
#d7a6e6
#e4c4ee
#f2e1f7

Tones

Color #af4ecc mixed toward gray.

#a958c2
#a463b7
#9e6dad
#9878a2
#938398

Accessibility

Aa White text on this color
4.39:1
Aa Black text on this color
4.78:1

Black text reads better on this background (4.78:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#8f8fb7 · ΔE 21.4

Deuteranopia

#949ab2 · ΔE 24.6

Tritanopia

#aca5a0 · ΔE 34.3

Achromatopsia

#787878 · ΔE 28.1

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

Code

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

Related colors

Medium Orchid #ba55d3
Dark Violet #9400d3
Dark Orchid #9932cc
Indigo #4b0082
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#af4ecc (#af4ecc) is rgb(175, 78, 204) in RGB.

No, #af4ecc is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #af4ecc, 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.