#9A2F81

Closest named color: Warm Purple (#952E8F). oklch(49.4% 0.168 338.6), rgb(154, 47, 129).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.168)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.09:1
White text6.77:1

Values

HEX#9A2F81
RGBrgb(154, 47, 129)
HSLhsl(314, 53%, 39%)
OKLCHoklch(49.4% 0.168 338.6)

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 #9A2F81 6.77:1 AA Lc -87.5 Fine for body text
Black text on #9A2F81 3.09:1 AA large text Lc 21.6 Dividers and decoration only
#9A2F81 text on white 6.77:1 AA Lc 82.4 Fine for body text
#9A2F81 text on black 3.09:1 AA large text Lc -19.5 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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4EF

    oklch(93.6% 0.023 338.6)

  3. Step 200

    200

    #EECEE3

    oklch(88.4% 0.045 338.7)

  4. Step 300

    300

    #E4ADD2

    oklch(80.9% 0.08 338.9)

  5. Step 400

    400

    #D57FBC

    oklch(70.7% 0.13 338.6)

  6. Step 500

    500

    #C75BAB

    oklch(63% 0.167 338.5)

  7. Step 600

    600

    #B23D96

    oklch(55.5% 0.181 338.6)

  8. Step 700

    700 (this color)

    #9A2F81

    oklch(49.4% 0.168 338.6)

  9. Step 800

    800

    #7C2868

    oklch(42.6% 0.139 338.5)

  10. Step 900

    900

    #652655

    oklch(37.8% 0.109 338.6)

  11. Step 950

    950

    #3B1732

    oklch(27% 0.069 337.9)

Export this scale for Tailwind in the Tailwind colors tool

#9A2F81 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)#3450830.182
Deuteranopia (no green cones)#56617E0.158
Tritanopia (no blue cones)#A333540.079
Achromatopsia (no color)#5B5B5B0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A2F81

    #9A2F81

    oklch(49.4% 0.168 338.6)

  • #007448

    #007448

    oklch(49.3% 0.114 158.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A2F81

    #9A2F81

    oklch(49.4% 0.168 338.6)

  • #7D3EA9

    #7D3EA9

    oklch(49.4% 0.169 308.6)

  • #AA264E

    #AA264E

    oklch(49.3% 0.168 8.4)

Open the analogous palette in the generator

Split complementary

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

  • #9A2F81

    #9A2F81

    oklch(49.4% 0.168 338.6)

  • #4B6F00

    #4B6F00

    oklch(49.5% 0.13 128.5)

  • #00716B

    #00716B

    oklch(49.4% 0.086 188.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A2F81

    #9A2F81

    oklch(49.4% 0.168 338.6)

  • #716100

    #716100

    oklch(49.3% 0.102 97.9)

  • #006D83

    #006D83

    oklch(49.4% 0.089 218.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A2F81

    #9A2F81

    oklch(49.4% 0.168 338.6)

  • #895400

    #895400

    oklch(49.5% 0.108 68.4)

  • #007448

    #007448

    oklch(49.3% 0.114 158.6)

  • #0064A9

    #0064A9

    oklch(49.3% 0.135 248.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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