#98398B

Closest named color: Warm Purple (#952E8F). oklch(50.7% 0.161 333.4), rgb(152, 57, 139).

Aa

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

About this color

#98398B is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.161 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.024 away. White text reads best on it, at 6.37:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.161)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.29:1
White text6.37:1

Values

HEX#98398B
RGBrgb(152, 57, 139)
HSLhsl(308, 45%, 41%)
OKLCHoklch(50.7% 0.161 333.4)

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 #98398B 6.37:1 AA Lc -86.1 Fine for body text
Black text on #98398B 3.29:1 AA large text Lc 23.1 Dividers and decoration only
#98398B text on white 6.37:1 AA Lc 81.0 Fine for body text
#98398B text on black 3.29:1 AA large text Lc -20.9 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E5F0

    oklch(93.7% 0.022 334.9)

  3. Step 200

    200

    #ECCFE5

    oklch(88.5% 0.043 334.3)

  4. Step 300

    300

    #E0AED6

    oklch(80.8% 0.078 333.4)

  5. Step 400

    400

    #CF82C1

    oklch(70.7% 0.124 333.7)

  6. Step 500

    500

    #C060B1

    oklch(63.1% 0.158 333.5)

  7. Step 600

    600

    #AB439D

    oklch(55.5% 0.173 333.2)

  8. Step 700

    700 (this color)

    #98398B

    oklch(50.7% 0.161 333.4)

  9. Step 800

    800

    #772C6D

    oklch(42.6% 0.133 333.2)

  10. Step 900

    900

    #612958

    oklch(37.8% 0.103 334)

  11. Step 950

    950

    #391934

    oklch(27.1% 0.065 333.4)

Export this scale for Tailwind in the Tailwind colors tool

#98398B 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)#37568D0.168
Deuteranopia (no green cones)#5564890.147
Tritanopia (no blue cones)#9F405C0.083
Achromatopsia (no color)#5F5F5F0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #98398B

    #98398B

    oklch(50.7% 0.161 333.4)

  • #007940

    #007940

    oklch(50.5% 0.129 153.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #98398B

    #98398B

    oklch(50.7% 0.161 333.4)

  • #7947AF

    #7947AF

    oklch(50.7% 0.161 303.3)

  • #AA305B

    #AA305B

    oklch(50.6% 0.161 3.6)

Open the analogous palette in the generator

Split complementary

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

  • #98398B

    #98398B

    oklch(50.7% 0.161 333.4)

  • #577000

    #577000

    oklch(50.7% 0.125 123.6)

  • #00766A

    #00766A

    oklch(50.8% 0.091 182.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #98398B

    #98398B

    oklch(50.7% 0.161 333.4)

  • #796300

    #796300

    oklch(50.7% 0.104 93.7)

  • #007284

    #007284

    oklch(50.7% 0.089 213.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #98398B

    #98398B

    oklch(50.7% 0.161 333.4)

  • #925400

    #925400

    oklch(50.7% 0.115 63.4)

  • #007940

    #007940

    oklch(50.5% 0.129 153.6)

  • #006BA6

    #006BA6

    oklch(50.8% 0.124 243.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #98398B.

Similar named colors

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

Use #98398B 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.