#9E2BAD

Closest named color: Purply (#983FB2). oklch(52.1% 0.21 322.8), rgb(158, 43, 173).

Aa

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

About this color

#9E2BAD is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.210 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.032 away. White text reads best on it, at 6.17:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.210)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.40:1
White text6.17:1

Values

HEX#9E2BAD
RGBrgb(158, 43, 173)
HSLhsl(293, 60%, 42%)
OKLCHoklch(52.1% 0.21 322.8)

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 #9E2BAD 6.17:1 AA Lc -84.8 Fine for body text
Black text on #9E2BAD 3.40:1 AA large text Lc 24.5 Dividers and decoration only
#9E2BAD text on white 6.17:1 AA Lc 79.6 Fine for body text
#9E2BAD text on black 3.40:1 AA large text Lc -22.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 700.

  1. Step 50

    50

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F4E4F6

    oklch(93.7% 0.029 322.4)

  3. Step 200

    200

    #ECCDEF

    oklch(88.5% 0.057 323.3)

  4. Step 300

    300

    #E0ABE7

    oklch(80.9% 0.101 322.5)

  5. Step 400

    400

    #D07ADB

    oklch(70.7% 0.164 322.9)

  6. Step 500

    500

    #C253D0

    oklch(63.2% 0.206 323.1)

  7. Step 600

    600

    #AD2FBD

    oklch(55.6% 0.225 322.9)

  8. Step 700

    700 (this color)

    #9E2BAD

    oklch(52.1% 0.21 322.8)

  9. Step 800

    800

    #781D84

    oklch(42.6% 0.173 322.7)

  10. Step 900

    900

    #61206A

    oklch(37.6% 0.135 322.6)

  11. Step 950

    950

    #39143E

    oklch(26.9% 0.086 322.8)

Export this scale for Tailwind in the Tailwind colors tool

#9E2BAD 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)#0059B10.214
Deuteranopia (no green cones)#4066AA0.185
Tritanopia (no blue cones)#A0446A0.125
Achromatopsia (no color)#6161610.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E2BAD

    #9E2BAD

    oklch(52.1% 0.21 322.8)

  • #008006

    #008006

    oklch(52% 0.175 142.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E2BAD

    #9E2BAD

    oklch(52.1% 0.21 322.8)

  • #7343D4

    #7343D4

    oklch(52.2% 0.209 292.9)

  • #BA0D74

    #BA0D74

    oklch(52.1% 0.21 352.7)

Open the analogous palette in the generator

Split complementary

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

  • #9E2BAD

    #9E2BAD

    oklch(52.1% 0.21 322.8)

  • #6A6F00

    #6A6F00

    oklch(52% 0.116 112.9)

  • #007B63

    #007B63

    oklch(52% 0.1 172.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E2BAD

    #9E2BAD

    oklch(52.1% 0.21 322.8)

  • #876200

    #876200

    oklch(52.1% 0.107 82.7)

  • #007880

    #007880

    oklch(52.2% 0.089 203)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E2BAD

    #9E2BAD

    oklch(52.1% 0.21 322.8)

  • #A24F00

    #A24F00

    oklch(52.1% 0.132 53)

  • #008006

    #008006

    oklch(52% 0.175 142.8)

  • #00739C

    #00739C

    oklch(52.2% 0.107 232.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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