#97318D

Closest named color: Warm Purple (#952E8F). oklch(49.7% 0.173 332), rgb(151, 49, 141).

Aa

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

About this color

#97318D is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.173 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.008 away. White text reads best on it, at 6.68:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.173)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.13:1
White text6.68:1

Values

HEX#97318D
RGBrgb(151, 49, 141)
HSLhsl(306, 51%, 39%)
OKLCHoklch(49.7% 0.173 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 #97318D 6.68:1 AA Lc -87.2 Fine for body text
Black text on #97318D 3.13:1 AA large text Lc 21.9 Dividers and decoration only
#97318D text on white 6.68:1 AA Lc 82.1 Fine for body text
#97318D 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F1

    oklch(93.5% 0.024 331.9)

  3. Step 200

    200

    #ECCEE7

    oklch(88.4% 0.047 331.5)

  4. Step 300

    300

    #E1ADD9

    oklch(80.9% 0.084 331.7)

  5. Step 400

    400

    #D180C5

    oklch(70.8% 0.133 332.4)

  6. Step 500

    500

    #C35CB7

    oklch(63.2% 0.172 332)

  7. Step 600

    600

    #AE3EA2

    oklch(55.6% 0.186 332.3)

  8. Step 700

    700 (this color)

    #97318D

    oklch(49.7% 0.173 332)

  9. Step 800

    800

    #792871

    oklch(42.6% 0.144 331.9)

  10. Step 900

    900

    #62265B

    oklch(37.6% 0.112 332.3)

  11. Step 950

    950

    #3A1736

    oklch(27% 0.072 331.9)

Export this scale for Tailwind in the Tailwind colors tool

#97318D 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)#2C53900.183
Deuteranopia (no green cones)#50618A0.157
Tritanopia (no blue cones)#9D3B5B0.090
Achromatopsia (no color)#5C5C5C0.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #97318D

    #97318D

    oklch(49.7% 0.173 332)

  • #00773A

    #00773A

    oklch(49.8% 0.132 151.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #97318D

    #97318D

    oklch(49.7% 0.173 332)

  • #7641B2

    #7641B2

    oklch(49.7% 0.173 302)

  • #AB255B

    #AB255B

    oklch(49.8% 0.173 2)

Open the analogous palette in the generator

Split complementary

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

  • #97318D

    #97318D

    oklch(49.7% 0.173 332)

  • #576C00

    #576C00

    oklch(49.6% 0.12 122)

  • #007366

    #007366

    oklch(49.8% 0.09 181.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #97318D

    #97318D

    oklch(49.7% 0.173 332)

  • #776000

    #776000

    oklch(49.8% 0.102 92.4)

  • #006F7F

    #006F7F

    oklch(49.7% 0.087 212)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #97318D

    #97318D

    oklch(49.7% 0.173 332)

  • #8F5100

    #8F5100

    oklch(49.7% 0.114 62.5)

  • #00773A

    #00773A

    oklch(49.8% 0.132 151.8)

  • #00699F

    #00699F

    oklch(49.8% 0.117 241.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #97318D.

Similar named colors

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

Use #97318D 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.