#971F8E

Closest named color: Warm Purple (#952E8F). oklch(48.2% 0.194 331.6), rgb(151, 31, 142).

Aa

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

About this color

#971F8E is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.194 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.020 away. White text reads best on it, at 7.23:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.194)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.90:1
White text7.23:1

Values

HEX#971F8E
RGBrgb(151, 31, 142)
HSLhsl(305, 66%, 36%)
OKLCHoklch(48.2% 0.194 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 #971F8E 7.23:1 AAA Lc -88.7 Fine for body text
Black text on #971F8E 2.90:1 Fails Lc 20.3 Dividers and decoration only
#971F8E text on white 7.23:1 AAA Lc 83.8 Fine for body text
#971F8E text on black 2.90:1 Fails Lc -18.2 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

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F5E4F2

    oklch(93.6% 0.026 331.5)

  3. Step 200

    200

    #EECDE9

    oklch(88.4% 0.052 331)

  4. Step 300

    300

    #E5ABDC

    oklch(81% 0.093 331.8)

  5. Step 400

    400

    #D57BCA

    oklch(70.7% 0.149 331.6)

  6. Step 500

    500

    #C854BD

    oklch(63.1% 0.192 331.4)

  7. Step 600

    600

    #B332A9

    oklch(55.6% 0.209 331.4)

  8. Step 700

    700 (this color)

    #971F8E

    oklch(48.2% 0.194 331.6)

  9. Step 800

    800

    #7D2075

    oklch(42.7% 0.16 331.8)

  10. Step 900

    900

    #65215F

    oklch(37.7% 0.126 331.4)

  11. Step 950

    950

    #3B1538

    oklch(27% 0.079 330.6)

Export this scale for Tailwind in the Tailwind colors tool

#971F8E 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)#124C910.213
Deuteranopia (no green cones)#475D8B0.179
Tritanopia (no blue cones)#9D2F560.102
Achromatopsia (no color)#5757570.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #971F8E

    #971F8E

    oklch(48.2% 0.194 331.6)

  • #007236

    #007236

    oklch(48.3% 0.129 151.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #971F8E

    #971F8E

    oklch(48.2% 0.194 331.6)

  • #7435B7

    #7435B7

    oklch(48.2% 0.194 301.6)

  • #AC0257

    #AC0257

    oklch(48.2% 0.194 1.3)

Open the analogous palette in the generator

Split complementary

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

  • #971F8E

    #971F8E

    oklch(48.2% 0.194 331.6)

  • #546800

    #546800

    oklch(48.3% 0.117 121.8)

  • #006E61

    #006E61

    oklch(48.3% 0.087 180.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #971F8E

    #971F8E

    oklch(48.2% 0.194 331.6)

  • #735B00

    #735B00

    oklch(48.2% 0.098 90.8)

  • #006A79

    #006A79

    oklch(48.1% 0.084 211.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #971F8E

    #971F8E

    oklch(48.2% 0.194 331.6)

  • #8A4D00

    #8A4D00

    oklch(48.3% 0.111 61.6)

  • #007236

    #007236

    oklch(48.3% 0.129 151.3)

  • #006498

    #006498

    oklch(48.2% 0.114 241.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #971F8E.

Similar named colors

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

Use #971F8E 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.