#872A70

Closest named color: Red Violet (#9E0168). oklch(45% 0.15 339.1), rgb(135, 42, 112).

Aa

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

About this color

#872A70 is a medium-dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.150 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.054 away. White text reads best on it, at 8.09:1.

Hue familyPurples
Lightnessmedium-dark (45%)
Chromavivid (0.150)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.59:1
White text8.09:1

Values

HEX#872A70
RGBrgb(135, 42, 112)
HSLhsl(315, 53%, 35%)
OKLCHoklch(45% 0.15 339.1)

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 #872A70 8.09:1 AAA Lc -91.9 Preferred for body text
Black text on #872A70 2.59:1 Fails Lc 16.9 Dividers and decoration only
#872A70 text on white 8.09:1 AAA Lc 87.2 Fine for body text
#872A70 text on black 2.59:1 Fails Lc -15.0 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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4EF

    oklch(93.6% 0.024 340.3)

  3. Step 200

    200

    #F0CDE4

    oklch(88.5% 0.049 338.8)

  4. Step 300

    300

    #E7ABD3

    oklch(80.9% 0.087 339.3)

  5. Step 400

    400

    #D97CBD

    oklch(70.8% 0.14 339.4)

  6. Step 500

    500

    #CC56AC

    oklch(63.1% 0.179 339.4)

  7. Step 600

    600

    #B73698

    oklch(55.7% 0.194 339.1)

  8. Step 700

    700

    #9D2781

    oklch(49.1% 0.18 339.3)

  9. Step 800

    800 (this color)

    #872A70

    oklch(45% 0.15 339.1)

  10. Step 900

    900

    #672356

    oklch(37.8% 0.117 338.8)

  11. Step 950

    950

    #3D1532

    oklch(27% 0.075 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#872A70 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)#2F46720.162
Deuteranopia (no green cones)#4C556E0.141
Tritanopia (no blue cones)#8F2D490.070
Achromatopsia (no color)#5050500.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #872A70

    #872A70

    oklch(45% 0.15 339.1)

  • #006640

    #006640

    oklch(45% 0.103 159.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #872A70

    #872A70

    oklch(45% 0.15 339.1)

  • #6E3793

    #6E3793

    oklch(45.1% 0.15 309.2)

  • #952343

    #952343

    oklch(45% 0.15 9.4)

Open the analogous palette in the generator

Split complementary

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

  • #872A70

    #872A70

    oklch(45% 0.15 339.1)

  • #406100

    #406100

    oklch(45% 0.119 129)

  • #00635E

    #00635E

    oklch(45% 0.078 188.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #872A70

    #872A70

    oklch(45% 0.15 339.1)

  • #625500

    #625500

    oklch(44.9% 0.093 99)

  • #005F74

    #005F74

    oklch(44.9% 0.082 219.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #872A70

    #872A70

    oklch(45% 0.15 339.1)

  • #784900

    #784900

    oklch(45% 0.098 68.4)

  • #006640

    #006640

    oklch(45% 0.103 159.3)

  • #005897

    #005897

    oklch(45.1% 0.125 249.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #872A70.

Similar named colors

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

Use #872A70 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.