#972D8E

Closest named color: Warm Purple (#952E8F). oklch(49.4% 0.179 331.6), rgb(151, 45, 142).

Aa

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

About this color

#972D8E is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.179 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.004 away. White text reads best on it, at 6.81:1.

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

Values

HEX#972D8E
RGBrgb(151, 45, 142)
HSLhsl(305, 54%, 38%)
OKLCHoklch(49.4% 0.179 331.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 #972D8E 6.81:1 AA Lc -87.6 Fine for body text
Black text on #972D8E 3.08:1 AA large text Lc 21.5 Dividers and decoration only
#972D8E text on white 6.81:1 AA Lc 82.5 Fine for body text
#972D8E text on black 3.08: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

    #F4E4F2

    oklch(93.6% 0.025 329.7)

  3. Step 200

    200

    #EDCEE8

    oklch(88.5% 0.049 331.3)

  4. Step 300

    300

    #E2ACDA

    oklch(80.8% 0.087 331.5)

  5. Step 400

    400

    #D27EC7

    oklch(70.7% 0.139 331.8)

  6. Step 500

    500

    #C45AB9

    oklch(63.1% 0.177 331.6)

  7. Step 600

    600

    #AF3BA5

    oklch(55.6% 0.193 331.5)

  8. Step 700

    700 (this color)

    #972D8E

    oklch(49.4% 0.179 331.6)

  9. Step 800

    800

    #7A2673

    oklch(42.7% 0.149 331.4)

  10. Step 900

    900

    #63255D

    oklch(37.8% 0.116 331.5)

  11. Step 950

    950

    #3A1736

    oklch(27% 0.072 331.9)

Export this scale for Tailwind in the Tailwind colors tool

#972D8E 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)#2651910.191
Deuteranopia (no green cones)#4D608B0.163
Tritanopia (no blue cones)#9D385A0.094
Achromatopsia (no color)#5B5B5B0.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #972D8E

    #972D8E

    oklch(49.4% 0.179 331.6)

  • #007639

    #007639

    oklch(49.5% 0.131 151.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #972D8E

    #972D8E

    oklch(49.4% 0.179 331.6)

  • #753FB4

    #753FB4

    oklch(49.4% 0.178 301.3)

  • #AB1F5A

    #AB1F5A

    oklch(49.3% 0.178 1.7)

Open the analogous palette in the generator

Split complementary

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

  • #972D8E

    #972D8E

    oklch(49.4% 0.179 331.6)

  • #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.

  • #972D8E

    #972D8E

    oklch(49.4% 0.179 331.6)

  • #775F00

    #775F00

    oklch(49.5% 0.101 91.5)

  • #006E7D

    #006E7D

    oklch(49.4% 0.086 211.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #972D8E

    #972D8E

    oklch(49.4% 0.179 331.6)

  • #8E5000

    #8E5000

    oklch(49.4% 0.114 62.1)

  • #007639

    #007639

    oklch(49.5% 0.131 151.6)

  • #00689D

    #00689D

    oklch(49.5% 0.116 241.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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