#97338C

Closest named color: Warm Purple (#952E8F). oklch(49.9% 0.169 332.5), rgb(151, 51, 140).

Aa

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

About this color

#97338C is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.169 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.012 away. White text reads best on it, at 6.62:1.

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

Values

HEX#97338C
RGBrgb(151, 51, 140)
HSLhsl(307, 50%, 40%)
OKLCHoklch(49.9% 0.169 332.5)

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 #97338C 6.62:1 AA Lc -87.0 Fine for body text
Black text on #97338C 3.16:1 AA large text Lc 22.1 Dividers and decoration only
#97338C text on white 6.62:1 AA Lc 81.9 Fine for body text
#97338C text on black 3.16:1 AA large text Lc -20.0 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

    #ECCFE6

    oklch(88.5% 0.044 333)

  4. Step 300

    300

    #E1ADD8

    oklch(80.8% 0.083 332.4)

  5. Step 400

    400

    #D080C4

    oklch(70.6% 0.131 332.5)

  6. Step 500

    500

    #C25DB5

    oklch(63.1% 0.168 332.5)

  7. Step 600

    600

    #AD40A1

    oklch(55.6% 0.182 332.3)

  8. Step 700

    700 (this color)

    #97338C

    oklch(49.9% 0.169 332.5)

  9. Step 800

    800

    #792A70

    oklch(42.8% 0.14 332.5)

  10. Step 900

    900

    #62275A

    oklch(37.7% 0.109 333)

  11. Step 950

    950

    #391835

    oklch(27% 0.068 332)

Export this scale for Tailwind in the Tailwind colors tool

#97338C 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)#2F538F0.179
Deuteranopia (no green cones)#5162890.155
Tritanopia (no blue cones)#9D3C5B0.088
Achromatopsia (no color)#5D5D5D0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #97338C

    #97338C

    oklch(49.9% 0.169 332.5)

  • #00773C

    #00773C

    oklch(49.9% 0.13 152.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #97338C

    #97338C

    oklch(49.9% 0.169 332.5)

  • #7743B1

    #7743B1

    oklch(50% 0.169 302.4)

  • #AA285B

    #AA285B

    oklch(49.9% 0.17 2.1)

Open the analogous palette in the generator

Split complementary

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

  • #97338C

    #97338C

    oklch(49.9% 0.169 332.5)

  • #576D00

    #576D00

    oklch(49.9% 0.122 122.4)

  • #007367

    #007367

    oklch(49.9% 0.089 182.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #97338C

    #97338C

    oklch(49.9% 0.169 332.5)

  • #776000

    #776000

    oklch(49.8% 0.102 92.4)

  • #006F80

    #006F80

    oklch(49.8% 0.087 213)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #97338C

    #97338C

    oklch(49.9% 0.169 332.5)

  • #905100

    #905100

    oklch(49.9% 0.115 62)

  • #00773C

    #00773C

    oklch(49.9% 0.13 152.5)

  • #0069A1

    #0069A1

    oklch(50% 0.12 242.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #97338C.

Similar named colors

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

Use #97338C 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.