#9E51A2

Closest named color: Deep Lavender (#8D5EB7). oklch(55.8% 0.147 325.5), rgb(158, 81, 162).

Aa

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

About this color

#9E51A2 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.147 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.048 away. White text reads best on it, at 5.05:1.

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

Values

HEX#9E51A2
RGBrgb(158, 81, 162)
HSLhsl(297, 33%, 48%)
OKLCHoklch(55.8% 0.147 325.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 #9E51A2 5.05:1 AA Lc -79.9 Fine for body text
Black text on #9E51A2 4.15:1 AA large text Lc 29.5 Dividers and decoration only
#9E51A2 text on white 5.05:1 AA Lc 74.5 Content text, not long reading
#9E51A2 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E6F1

    oklch(93.7% 0.019 325.7)

  3. Step 200

    200

    #E6D1E7

    oklch(88.4% 0.037 324.5)

  4. Step 300

    300

    #D7B2D8

    oklch(80.8% 0.066 325.3)

  5. Step 400

    400

    #C289C4

    oklch(70.6% 0.105 325.5)

  6. Step 500

    500

    #B26AB5

    oklch(63% 0.135 325.6)

  7. Step 600

    600 (this color)

    #9E51A2

    oklch(55.8% 0.147 325.5)

  8. Step 700

    700

    #86408A

    oklch(49% 0.137 325.3)

  9. Step 800

    800

    #6D3670

    oklch(42.7% 0.112 325.4)

  10. Step 900

    900

    #592F5B

    oklch(37.7% 0.089 325.5)

  11. Step 950

    950

    #341C35

    oklch(27% 0.056 325.6)

Export this scale for Tailwind in the Tailwind colors tool

#9E51A2 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)#4868A50.141
Deuteranopia (no green cones)#5F72A00.125
Tritanopia (no blue cones)#A15A720.085
Achromatopsia (no color)#6F6F6F0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E51A2

    #9E51A2

    oklch(55.8% 0.147 325.5)

  • #2C8938

    #2C8938

    oklch(55.7% 0.146 145.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E51A2

    #9E51A2

    oklch(55.8% 0.147 325.5)

  • #7C5EBF

    #7C5EBF

    oklch(55.7% 0.147 295.5)

  • #B34978

    #B34978

    oklch(55.9% 0.146 355.2)

Open the analogous palette in the generator

Split complementary

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

  • #9E51A2

    #9E51A2

    oklch(55.8% 0.147 325.5)

  • #727C00

    #727C00

    oklch(55.9% 0.127 115.3)

  • #008871

    #008871

    oklch(56% 0.105 175.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E51A2

    #9E51A2

    oklch(55.8% 0.147 325.5)

  • #926E00

    #926E00

    oklch(55.9% 0.114 85.8)

  • #00848F

    #00848F

    oklch(56% 0.096 205.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E51A2

    #9E51A2

    oklch(55.8% 0.147 325.5)

  • #AF5A00

    #AF5A00

    oklch(55.9% 0.137 55.6)

  • #2C8938

    #2C8938

    oklch(55.7% 0.146 145.4)

  • #007DB0

    #007DB0

    oklch(55.8% 0.12 236)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9E51A2.

Similar named colors

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

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