#9D52A1

Closest named color: Deep Lavender (#8D5EB7). oklch(55.8% 0.143 325.4), rgb(157, 82, 161).

Aa

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

About this color

#9D52A1 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.143 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.047 away. White text reads best on it, at 5.05:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.143)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.15:1
White text5.05:1

Values

HEX#9D52A1
RGBrgb(157, 82, 161)
HSLhsl(297, 33%, 48%)
OKLCHoklch(55.8% 0.143 325.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 #9D52A1 5.05:1 AA Lc -79.9 Fine for body text
Black text on #9D52A1 4.15:1 AA large text Lc 29.5 Dividers and decoration only
#9D52A1 text on white 5.05:1 AA Lc 74.5 Content text, not long reading
#9D52A1 text on black 4.15:1 AA large text Lc -27.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 600.

  1. Step 50

    50

    #F9F4F9

    oklch(97.2% 0.008 325.6)

  2. Step 100

    100

    #F1E6F1

    oklch(93.7% 0.019 325.7)

  3. Step 200

    200

    #E6D1E6

    oklch(88.4% 0.036 325.9)

  4. Step 300

    300

    #D7B3D8

    oklch(81% 0.065 325.3)

  5. Step 400

    400

    #C28AC4

    oklch(70.8% 0.103 325.4)

  6. Step 500

    500

    #B16BB5

    oklch(63.1% 0.132 325.1)

  7. Step 600

    600 (this color)

    #9D52A1

    oklch(55.8% 0.143 325.4)

  8. Step 700

    700

    #854289

    oklch(49.1% 0.132 325.2)

  9. Step 800

    800

    #6D366F

    oklch(42.7% 0.111 326)

  10. Step 900

    900

    #58305A

    oklch(37.7% 0.085 325.4)

  11. Step 950

    950

    #341C35

    oklch(27% 0.056 325.6)

Export this scale for Tailwind in the Tailwind colors tool

#9D52A1 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)#4969A40.138
Deuteranopia (no green cones)#5F729F0.123
Tritanopia (no blue cones)#A05B720.084
Achromatopsia (no color)#6F6F6F0.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D52A1

    #9D52A1

    oklch(55.8% 0.143 325.4)

  • #2F893A

    #2F893A

    oklch(55.8% 0.143 145.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D52A1

    #9D52A1

    oklch(55.8% 0.143 325.4)

  • #7C5FBE

    #7C5FBE

    oklch(55.9% 0.144 295.4)

  • #B24A78

    #B24A78

    oklch(55.8% 0.144 355.1)

Open the analogous palette in the generator

Split complementary

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

  • #9D52A1

    #9D52A1

    oklch(55.8% 0.143 325.4)

  • #727C00

    #727C00

    oklch(55.9% 0.127 115.3)

  • #008771

    #008771

    oklch(55.7% 0.104 175.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D52A1

    #9D52A1

    oklch(55.8% 0.143 325.4)

  • #926E00

    #926E00

    oklch(55.9% 0.114 85.8)

  • #00838F

    #00838F

    oklch(55.7% 0.095 206.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D52A1

    #9D52A1

    oklch(55.8% 0.143 325.4)

  • #AF5A00

    #AF5A00

    oklch(55.9% 0.137 55.6)

  • #2F893A

    #2F893A

    oklch(55.8% 0.143 145.4)

  • #007DAF

    #007DAF

    oklch(55.7% 0.119 235.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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