Skip to content
Kolorvia
#870c7a

Color #870c7a

A vivid, highly saturated dark magenta.

Conversions

HEX
#870c7a
RGB
rgb(135, 12, 122)
HSL
hsl(306.3, 83.7%, 28.8%)
HSV / HSB
hsv(306.3, 91.1%, 52.9%)
CMYK
cmyk(0%, 91.1%, 9.6%, 47.1%)
LAB
lab(31.39, 57.47, -30.06)
LCH
lch(31.39, 64.86, 332.39)
OKLCH
oklch(43.4%, 0.1862, 333.63)
HWB
hwb(306.3, 4.7%, 47.1%)

Harmony colors

Complementary

#0c8719

Analogous

#560c87
#870c7a
#870c3d

Triadic

#870c7a
#7a870c
#0c7a87

Split-complementary

#870c7a
#3d870c
#0c8756

Tetradic

#870c7a
#87190c
#0c8719
#0c7a87

Square

#870c7a
#87560c
#0c8719
#0c3d87

Shades

Color #870c7a mixed toward black.

#700a66
#5a0851
#43063d
#2d0429
#160214

Tints

Color #870c7a mixed toward white.

#be11ac
#eb21d6
#f058e0
#f590ea
#fac7f5

Tones

Color #870c7a mixed toward gray.

#7d1672
#72206a
#682b62
#5e355a
#543f52

Accessibility

Aa White text on this color
8.88:1
Aa Black text on this color
2.36:1

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

Under color vision deficiencies

Protanopia

#68676b · ΔE 27.4

Deuteranopia

#6d7368 · ΔE 40.9

Tritanopia

#845e5b · ΔE 26.1

Achromatopsia

#4a4a4a · ΔE 26.7

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

Code

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

Related colors

Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8

Frequently asked questions

#870c7a (#870c7a) is rgb(135, 12, 122) in RGB.

No, #870c7a 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 #870c7a, 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.