#972E8D

Closest named color: Warm Purple (#952E8F). oklch(49.4% 0.177 332), rgb(151, 46, 141).

Aa

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

About this color

#972E8D is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.177 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.005 away. White text reads best on it, at 6.79:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.177)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.09:1
White text6.79:1

Values

HEX#972E8D
RGBrgb(151, 46, 141)
HSLhsl(306, 53%, 39%)
OKLCHoklch(49.4% 0.177 332)

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 #972E8D 6.79:1 AA Lc -87.5 Fine for body text
Black text on #972E8D 3.09:1 AA large text Lc 21.6 Dividers and decoration only
#972E8D text on white 6.79:1 AA Lc 82.5 Fine for body text
#972E8D text on black 3.09:1 AA large text Lc -19.4 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F1

    oklch(93.5% 0.024 331.9)

  3. Step 200

    200

    #EDCEE7

    oklch(88.5% 0.048 332.5)

  4. Step 300

    300

    #E2ADD9

    oklch(81% 0.084 332.3)

  5. Step 400

    400

    #D27FC6

    oklch(70.8% 0.136 332.3)

  6. Step 500

    500

    #C45BB8

    oklch(63.2% 0.175 332)

  7. Step 600

    600

    #AF3CA3

    oklch(55.6% 0.19 332.2)

  8. Step 700

    700 (this color)

    #972E8D

    oklch(49.4% 0.177 332)

  9. Step 800

    800

    #7A2772

    oklch(42.7% 0.147 331.9)

  10. Step 900

    900

    #63265C

    oklch(37.8% 0.114 332.2)

  11. Step 950

    950

    #3A1736

    oklch(27% 0.072 331.9)

Export this scale for Tailwind in the Tailwind colors tool

#972E8D 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)#2852900.189
Deuteranopia (no green cones)#4E608A0.161
Tritanopia (no blue cones)#9D395A0.092
Achromatopsia (no color)#5B5B5B0.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #972E8D

    #972E8D

    oklch(49.4% 0.177 332)

  • #00763A

    #00763A

    oklch(49.6% 0.13 152)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #972E8D

    #972E8D

    oklch(49.4% 0.177 332)

  • #763FB3

    #763FB3

    oklch(49.4% 0.177 302.1)

  • #AB215A

    #AB215A

    oklch(49.5% 0.177 1.9)

Open the analogous palette in the generator

Split complementary

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

  • #972E8D

    #972E8D

    oklch(49.4% 0.177 332)

  • #576B00

    #576B00

    oklch(49.4% 0.119 121.6)

  • #007265

    #007265

    oklch(49.5% 0.089 181.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #972E8D

    #972E8D

    oklch(49.4% 0.177 332)

  • #765F00

    #765F00

    oklch(49.4% 0.101 92.3)

  • #006E7E

    #006E7E

    oklch(49.4% 0.086 212.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #972E8D

    #972E8D

    oklch(49.4% 0.177 332)

  • #8E5000

    #8E5000

    oklch(49.4% 0.114 62.1)

  • #00763A

    #00763A

    oklch(49.6% 0.13 152)

  • #00689E

    #00689E

    oklch(49.5% 0.117 241.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #972E8D.

Similar named colors

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

Use #972E8D 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.