#9D52A5

Closest named color: Deep Lavender (#8D5EB7). oklch(56% 0.147 323.6), rgb(157, 82, 165).

Aa

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

About this color

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

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

Values

HEX#9D52A5
RGBrgb(157, 82, 165)
HSLhsl(294, 34%, 48%)
OKLCHoklch(56% 0.147 323.6)

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 #9D52A5 5.01:1 AA Lc -79.7 Fine for body text
Black text on #9D52A5 4.18:1 AA large text Lc 29.8 Dividers and decoration only
#9D52A5 text on white 5.01:1 AA Lc 74.3 Content text, not long reading
#9D52A5 text on black 4.18:1 AA large text Lc -27.4 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

    #F8F3F9

    oklch(97% 0.01 320.5)

  2. Step 100

    100

    #F0E6F1

    oklch(93.6% 0.018 323)

  3. Step 200

    200

    #E6D1E7

    oklch(88.4% 0.037 324.5)

  4. Step 300

    300

    #D6B3D9

    oklch(80.9% 0.065 323.6)

  5. Step 400

    400

    #C18AC6

    oklch(70.7% 0.105 323.8)

  6. Step 500

    500

    #B16BB8

    oklch(63.2% 0.136 323.7)

  7. Step 600

    600 (this color)

    #9D52A5

    oklch(56% 0.147 323.6)

  8. Step 700

    700

    #85418C

    oklch(49.1% 0.137 323.8)

  9. Step 800

    800

    #6C3672

    oklch(42.7% 0.114 323.5)

  10. Step 900

    900

    #58305C

    oklch(37.8% 0.088 323.8)

  11. Step 950

    950

    #341C36

    oklch(27% 0.057 324.2)

Export this scale for Tailwind in the Tailwind colors tool

#9D52A5 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)#4769A80.140
Deuteranopia (no green cones)#5D72A30.124
Tritanopia (no blue cones)#A05C740.088
Achromatopsia (no color)#6F6F6F0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D52A5

    #9D52A5

    oklch(56% 0.147 323.6)

  • #338A35

    #338A35

    oklch(56.2% 0.147 143.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D52A5

    #9D52A5

    oklch(56% 0.147 323.6)

  • #7A60C1

    #7A60C1

    oklch(56% 0.146 293.5)

  • #B3497B

    #B3497B

    oklch(56% 0.148 353.5)

Open the analogous palette in the generator

Split complementary

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

  • #9D52A5

    #9D52A5

    oklch(56% 0.147 323.6)

  • #757C00

    #757C00

    oklch(56.1% 0.126 113.7)

  • #00886F

    #00886F

    oklch(55.9% 0.107 173.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D52A5

    #9D52A5

    oklch(56% 0.147 323.6)

  • #946D00

    #946D00

    oklch(55.9% 0.115 83.7)

  • #00848E

    #00848E

    oklch(55.9% 0.095 204.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D52A5

    #9D52A5

    oklch(56% 0.147 323.6)

  • #B25800

    #B25800

    oklch(56% 0.141 53.4)

  • #338A35

    #338A35

    oklch(56.2% 0.147 143.7)

  • #007FAE

    #007FAE

    oklch(56.1% 0.117 233.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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