#9E2F79

Closest named color: Warm Purple (#952E8F). oklch(49.6% 0.166 343.9), rgb(158, 47, 121).

Aa

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

About this color

#9E2F79 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.166 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.042 away. White text reads best on it, at 6.69:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.166)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.13:1
White text6.69:1

Values

HEX#9E2F79
RGBrgb(158, 47, 121)
HSLhsl(320, 54%, 40%)
OKLCHoklch(49.6% 0.166 343.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 #9E2F79 6.69:1 AA Lc -87.2 Fine for body text
Black text on #9E2F79 3.13:1 AA large text Lc 22.0 Dividers and decoration only
#9E2F79 text on white 6.69:1 AA Lc 82.1 Fine for body text
#9E2F79 text on black 3.13:1 AA large text Lc -19.8 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

    #F6E4EE

    oklch(93.6% 0.024 342.9)

  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

    #D87EB4

    oklch(70.6% 0.129 344.1)

  6. Step 500

    500

    #CB5AA2

    oklch(63.1% 0.165 343.8)

  7. Step 600

    600

    #B63C8D

    oklch(55.6% 0.179 343.8)

  8. Step 700

    700 (this color)

    #9E2F79

    oklch(49.6% 0.166 343.9)

  9. Step 800

    800

    #7F2761

    oklch(42.7% 0.137 344)

  10. Step 900

    900

    #67264F

    oklch(37.8% 0.106 344.6)

  11. Step 950

    950

    #3C172E

    oklch(26.9% 0.067 344.3)

Export this scale for Tailwind in the Tailwind colors tool

#9E2F79 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)#3A507B0.183
Deuteranopia (no green cones)#5C63760.160
Tritanopia (no blue cones)#A82F500.070
Achromatopsia (no color)#5C5C5C0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E2F79

    #9E2F79

    oklch(49.6% 0.166 343.9)

  • #007552

    #007552

    oklch(49.8% 0.106 164)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E2F79

    #9E2F79

    oklch(49.6% 0.166 343.9)

  • #833DA3

    #833DA3

    oklch(49.7% 0.166 313.6)

  • #AB2945

    #AB2945

    oklch(49.5% 0.165 13.7)

Open the analogous palette in the generator

Split complementary

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

  • #9E2F79

    #9E2F79

    oklch(49.6% 0.166 343.9)

  • #3D7200

    #3D7200

    oklch(49.5% 0.142 133.9)

  • #007170

    #007170

    oklch(49.6% 0.085 193.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E2F79

    #9E2F79

    oklch(49.6% 0.166 343.9)

  • #6D6400

    #6D6400

    oklch(49.6% 0.104 103.4)

  • #006D89

    #006D89

    oklch(49.7% 0.093 223.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E2F79

    #9E2F79

    oklch(49.6% 0.166 343.9)

  • #855700

    #855700

    oklch(49.5% 0.105 73.7)

  • #007552

    #007552

    oklch(49.8% 0.106 164)

  • #0061B8

    #0061B8

    oklch(49.6% 0.157 253.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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