#872770

Closest named color: Red Violet (#9E0168). oklch(44.7% 0.154 339), rgb(135, 39, 112).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.154)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.55:1
White text8.22:1

Values

HEX#872770
RGBrgb(135, 39, 112)
HSLhsl(314, 55%, 34%)
OKLCHoklch(44.7% 0.154 339)

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 #872770 8.22:1 AAA Lc -92.2 Preferred for body text
Black text on #872770 2.55:1 Fails Lc 16.5 Dividers and decoration only
#872770 text on white 8.22:1 AAA Lc 87.5 Fine for body text
#872770 text on black 2.55:1 Fails Lc -14.6 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

    #FBF2F8

    oklch(97% 0.012 337.5)

  2. Step 100

    100

    #F6E4F0

    oklch(93.7% 0.025 337.8)

  3. Step 200

    200

    #F0CDE4

    oklch(88.5% 0.049 338.8)

  4. Step 300

    300

    #E8AAD4

    oklch(80.9% 0.09 338.9)

  5. Step 400

    400

    #DA7BBE

    oklch(70.8% 0.143 339.1)

  6. Step 500

    500

    #CD54AE

    oklch(63.1% 0.184 338.8)

  7. Step 600

    600

    #B83399

    oklch(55.6% 0.199 338.9)

  8. Step 700

    700

    #9E2383

    oklch(49.1% 0.186 338.7)

  9. Step 800

    800 (this color)

    #872770

    oklch(44.7% 0.154 339)

  10. Step 900

    900

    #682156

    oklch(37.7% 0.12 339.2)

  11. Step 950

    950

    #3D1532

    oklch(27% 0.075 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#872770 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)#2C45720.167
Deuteranopia (no green cones)#4B546E0.144
Tritanopia (no blue cones)#8F2B480.072
Achromatopsia (no color)#4F4F4F0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #872770

    #872770

    oklch(44.7% 0.154 339)

  • #00653F

    #00653F

    oklch(44.7% 0.103 159.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #872770

    #872770

    oklch(44.7% 0.154 339)

  • #6D3493

    #6D3493

    oklch(44.6% 0.154 309.1)

  • #951F42

    #951F42

    oklch(44.6% 0.154 9.1)

Open the analogous palette in the generator

Split complementary

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

  • #872770

    #872770

    oklch(44.7% 0.154 339)

  • #3F6000

    #3F6000

    oklch(44.6% 0.119 129.1)

  • #00625D

    #00625D

    oklch(44.7% 0.078 188.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #872770

    #872770

    oklch(44.7% 0.154 339)

  • #625500

    #625500

    oklch(44.9% 0.093 99)

  • #005F73

    #005F73

    oklch(44.8% 0.081 218.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #872770

    #872770

    oklch(44.7% 0.154 339)

  • #774900

    #774900

    oklch(44.8% 0.098 69.1)

  • #00653F

    #00653F

    oklch(44.7% 0.103 159.1)

  • #005795

    #005795

    oklch(44.8% 0.123 248.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #872770 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.