#9A2873

Closest named color: Red Violet (#9E0168). oklch(48.1% 0.168 344.9), rgb(154, 40, 115).

Aa

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

About this color

#9A2873 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.168 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.034 away. White text reads best on it, at 7.17:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.168)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.92:1
White text7.17:1

Values

HEX#9A2873
RGBrgb(154, 40, 115)
HSLhsl(321, 59%, 38%)
OKLCHoklch(48.1% 0.168 344.9)

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 #9A2873 7.17:1 AAA Lc -88.8 Fine for body text
Black text on #9A2873 2.92:1 Fails Lc 20.2 Dividers and decoration only
#9A2873 text on white 7.17:1 AAA Lc 83.8 Fine for body text
#9A2873 text on black 2.92:1 Fails Lc -18.1 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 700.

  1. Step 50

    50

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4ED

    oklch(93.6% 0.023 345.8)

  3. Step 200

    200

    #F0CEE0

    oklch(88.5% 0.045 344.9)

  4. Step 300

    300

    #E7ACCD

    oklch(80.9% 0.081 344.4)

  5. Step 400

    400

    #D97EB3

    oklch(70.7% 0.129 345)

  6. Step 500

    500

    #CC59A0

    oklch(63% 0.166 344.9)

  7. Step 600

    600

    #B73B8B

    oklch(55.6% 0.18 344.9)

  8. Step 700

    700 (this color)

    #9A2873

    oklch(48.1% 0.168 344.9)

  9. Step 800

    800

    #802660

    oklch(42.7% 0.139 345)

  10. Step 900

    900

    #67254F

    oklch(37.7% 0.108 344.4)

  11. Step 950

    950

    #3D172E

    oklch(27.1% 0.068 345.3)

Export this scale for Tailwind in the Tailwind colors tool

#9A2873 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)#364B750.185
Deuteranopia (no green cones)#585E700.162
Tritanopia (no blue cones)#A4264A0.070
Achromatopsia (no color)#5757570.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A2873

    #9A2873

    oklch(48.1% 0.168 344.9)

  • #006F4F

    #006F4F

    oklch(48% 0.101 164.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A2873

    #9A2873

    oklch(48.1% 0.168 344.9)

  • #80379D

    #80379D

    oklch(48.1% 0.167 315)

  • #A7223E

    #A7223E

    oklch(48.1% 0.168 15.1)

Open the analogous palette in the generator

Split complementary

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

  • #9A2873

    #9A2873

    oklch(48.1% 0.168 344.9)

  • #376E00

    #376E00

    oklch(48.1% 0.14 135)

  • #006C6C

    #006C6C

    oklch(48.1% 0.082 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A2873

    #9A2873

    oklch(48.1% 0.168 344.9)

  • #676000

    #676000

    oklch(48% 0.102 104.6)

  • #006884

    #006884

    oklch(48.1% 0.091 224.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A2873

    #9A2873

    oklch(48.1% 0.168 344.9)

  • #7F5400

    #7F5400

    oklch(48.1% 0.102 74.8)

  • #006F4F

    #006F4F

    oklch(48% 0.101 164.9)

  • #005CB4

    #005CB4

    oklch(48.2% 0.158 254.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9A2873.

Similar named colors

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

Use #9A2873 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.