#8A2870

Closest named color: Red Violet (#9E0168). oklch(45.3% 0.155 340.3), rgb(138, 40, 112).

Aa

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

About this color

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

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

Values

HEX#8A2870
RGBrgb(138, 40, 112)
HSLhsl(316, 55%, 35%)
OKLCHoklch(45.3% 0.155 340.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 #8A2870 8.02:1 AAA Lc -91.6 Preferred for body text
Black text on #8A2870 2.61:1 Fails Lc 17.2 Dividers and decoration only
#8A2870 text on white 8.02:1 AAA Lc 86.9 Fine for body text
#8A2870 text on black 2.61:1 Fails Lc -15.2 Dividers and decoration only

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

    #F7E3EF

    oklch(93.5% 0.027 340.9)

  3. Step 200

    200

    #F1CDE3

    oklch(88.5% 0.049 340.9)

  4. Step 300

    300

    #E9AAD3

    oklch(80.9% 0.091 340.1)

  5. Step 400

    400

    #DB7ABC

    oklch(70.7% 0.144 340.4)

  6. Step 500

    500

    #CF53AB

    oklch(63.1% 0.185 340.6)

  7. Step 600

    600

    #BA3197

    oklch(55.6% 0.201 340.3)

  8. Step 700

    700

    #A02280

    oklch(49.2% 0.186 340.7)

  9. Step 800

    800 (this color)

    #8A2870

    oklch(45.3% 0.155 340.3)

  10. Step 900

    900

    #692155

    oklch(37.8% 0.12 340.5)

  11. Step 950

    950

    #3E1532

    oklch(27.2% 0.076 340.4)

Export this scale for Tailwind in the Tailwind colors tool

#8A2870 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)#2E46720.169
Deuteranopia (no green cones)#4D566E0.147
Tritanopia (no blue cones)#922B480.071
Achromatopsia (no color)#5050500.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A2870

    #8A2870

    oklch(45.3% 0.155 340.3)

  • #006742

    #006742

    oklch(45.3% 0.102 160.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A2870

    #8A2870

    oklch(45.3% 0.155 340.3)

  • #703594

    #703594

    oklch(45.2% 0.155 310.2)

  • #982142

    #982142

    oklch(45.4% 0.155 10.1)

Open the analogous palette in the generator

Split complementary

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

  • #8A2870

    #8A2870

    oklch(45.3% 0.155 340.3)

  • #3E6300

    #3E6300

    oklch(45.4% 0.123 130.4)

  • #006460

    #006460

    oklch(45.4% 0.078 190)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A2870

    #8A2870

    oklch(45.3% 0.155 340.3)

  • #625700

    #625700

    oklch(45.3% 0.095 100.9)

  • #006076

    #006076

    oklch(45.3% 0.083 220.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A2870

    #8A2870

    oklch(45.3% 0.155 340.3)

  • #784B00

    #784B00

    oklch(45.4% 0.098 70.5)

  • #006742

    #006742

    oklch(45.3% 0.102 160.1)

  • #00589A

    #00589A

    oklch(45.4% 0.129 250.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8A2870 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.