#9D5298

Closest named color: Light Plum (#9D5783). oklch(55.4% 0.135 329.7), rgb(157, 82, 152).

Aa

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

About this color

#9D5298 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 55%, its chroma 0.135 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Plum (#9D5783), ΔE 0.038 away. White text reads best on it, at 5.12:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameLight Plum (#9D5783)
Black text4.09:1
White text5.12:1

Values

HEX#9D5298
RGBrgb(157, 82, 152)
HSLhsl(304, 31%, 47%)
OKLCHoklch(55.4% 0.135 329.7)

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 #9D5298 5.12:1 AA Lc -80.4 Fine for body text
Black text on #9D5298 4.09:1 AA large text Lc 29.1 Dividers and decoration only
#9D5298 text on white 5.12:1 AA Lc 75.0 Fine for body text
#9D5298 text on black 4.09:1 AA large text Lc -26.7 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 600.

  1. Step 50

    50

    #F9F4F8

    oklch(97.2% 0.007 332.1)

  2. Step 100

    100

    #F1E6F0

    oklch(93.6% 0.018 328.5)

  3. Step 200

    200

    #E7D2E4

    oklch(88.6% 0.033 330.5)

  4. Step 300

    300

    #D8B3D4

    oklch(80.9% 0.061 329.7)

  5. Step 400

    400

    #C38ABE

    oklch(70.6% 0.098 329.6)

  6. Step 500

    500

    #B36CAD

    oklch(63.1% 0.124 330)

  7. Step 600

    600 (this color)

    #9D5298

    oklch(55.4% 0.135 329.7)

  8. Step 700

    700

    #874382

    oklch(49.2% 0.125 330.1)

  9. Step 800

    800

    #6E376A

    oklch(42.7% 0.105 330)

  10. Step 900

    900

    #593056

    oklch(37.6% 0.082 329.7)

  11. Step 950

    950

    #341D32

    oklch(27% 0.05 330)

Export this scale for Tailwind in the Tailwind colors tool

#9D5298 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)#4E679A0.132
Deuteranopia (no green cones)#6371960.118
Tritanopia (no blue cones)#A2586E0.073
Achromatopsia (no color)#6E6E6E0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D5298

    #9D5298

    oklch(55.4% 0.135 329.7)

  • #268845

    #268845

    oklch(55.5% 0.135 149.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D5298

    #9D5298

    oklch(55.4% 0.135 329.7)

  • #7F5EB5

    #7F5EB5

    oklch(55.4% 0.134 299.5)

  • #AF4C70

    #AF4C70

    oklch(55.4% 0.134 359.6)

Open the analogous palette in the generator

Split complementary

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

  • #9D5298

    #9D5298

    oklch(55.4% 0.135 329.7)

  • #6A7D00

    #6A7D00

    oklch(55.5% 0.131 119.7)

  • #008575

    #008575

    oklch(55.3% 0.1 180.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D5298

    #9D5298

    oklch(55.4% 0.135 329.7)

  • #8D6E00

    #8D6E00

    oklch(55.3% 0.113 89.1)

  • #008191

    #008191

    oklch(55.3% 0.096 209.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D5298

    #9D5298

    oklch(55.4% 0.135 329.7)

  • #A85D00

    #A85D00

    oklch(55.4% 0.13 60.2)

  • #268845

    #268845

    oklch(55.5% 0.135 149.7)

  • #007AB4

    #007AB4

    oklch(55.3% 0.126 240)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9D5298 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.