#870A74

Closest named color: Purple (#800080). oklch(42.9% 0.183 336.3), rgb(135, 10, 116).

Aa

White text reads best on this color (9.02:1).

About this color

#870A74 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.183 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Purple (#800080), ΔE 0.029 away. White text reads best on it, at 9.02:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.183)
Temperaturewarm
Nearest namePurple (#800080)
Black text2.32:1
White text9.02:1

Values

HEX#870A74
RGBrgb(135, 10, 116)
HSLhsl(309, 86%, 28%)
OKLCHoklch(42.9% 0.183 336.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #870A74 9.02:1 AAA Lc -93.5 Preferred for body text
Black text on #870A74 2.32:1 Fails Lc 15.1 Dividers and decoration only
#870A74 text on white 9.02:1 AAA Lc 88.9 Fine for body text
#870A74 text on black 2.32:1 Fails Lc -13.3 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F8E2F2

    oklch(93.5% 0.032 335.4)

  3. Step 200

    200

    #F3CBE8

    oklch(88.5% 0.059 336)

  4. Step 300

    300

    #EDA6DB

    oklch(80.9% 0.107 336.1)

  5. Step 400

    400

    #E172C8

    oklch(70.8% 0.171 336.5)

  6. Step 500

    500

    #D544BA

    oklch(63.1% 0.219 336.2)

  7. Step 600

    600

    #C012A6

    oklch(55.6% 0.238 336.2)

  8. Step 700

    700

    #A4008D

    oklch(49.1% 0.217 336.3)

  9. Step 800

    800 (this color)

    #870A74

    oklch(42.9% 0.183 336.3)

  10. Step 900

    900

    #6C175D

    oklch(37.7% 0.142 336.3)

  11. Step 950

    950

    #401037

    oklch(27.1% 0.091 336.1)

Export this scale for Tailwind in the Tailwind colors tool

#870A74 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0E3E760.207
Deuteranopia (no green cones)#404F710.173
Tritanopia (no blue cones)#8F19430.091
Achromatopsia (no color)#4949490.185

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #870A74

    #870A74

    oklch(42.9% 0.183 336.3)

  • #006037

    #006037

    oklch(43% 0.104 156.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #870A74

    #870A74

    oklch(42.9% 0.183 336.3)

  • #69249C

    #69249C

    oklch(42.9% 0.183 306.1)

  • #950040

    #950040

    oklch(43% 0.172 6.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #870A74

    #870A74

    oklch(42.9% 0.183 336.3)

  • #405A00

    #405A00

    oklch(43% 0.11 126.5)

  • #005D56

    #005D56

    oklch(43% 0.076 186)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #870A74

    #870A74

    oklch(42.9% 0.183 336.3)

  • #5E4F00

    #5E4F00

    oklch(43% 0.089 96.5)

  • #005A6A

    #005A6A

    oklch(43% 0.076 215.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #870A74

    #870A74

    oklch(42.9% 0.183 336.3)

  • #724300

    #724300

    oklch(42.9% 0.095 66.2)

  • #006037

    #006037

    oklch(43% 0.104 156.3)

  • #005388

    #005388

    oklch(42.9% 0.111 246.2)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #870A74, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #870A74 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.