#9B2783

Closest named color: Warm Purple (#952E8F). oklch(48.9% 0.18 337.7), rgb(155, 39, 131).

Aa

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

About this color

#9B2783 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.180 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.023 away. White text reads best on it, at 6.97:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.180)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.01:1
White text6.97:1

Values

HEX#9B2783
RGBrgb(155, 39, 131)
HSLhsl(312, 60%, 38%)
OKLCHoklch(48.9% 0.18 337.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 #9B2783 6.97:1 AA Lc -88.0 Fine for body text
Black text on #9B2783 3.01:1 AA large text Lc 21.1 Dividers and decoration only
#9B2783 text on white 6.97:1 AA Lc 83.0 Fine for body text
#9B2783 text on black 3.01:1 AA large text Lc -18.9 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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4F0

    oklch(93.7% 0.025 337.8)

  3. Step 200

    200

    #EFCDE4

    oklch(88.4% 0.049 337.9)

  4. Step 300

    300

    #E6ABD5

    oklch(80.9% 0.088 337.3)

  5. Step 400

    400

    #D77CBF

    oklch(70.6% 0.14 337.6)

  6. Step 500

    500

    #CA57AF

    oklch(63.1% 0.178 337.6)

  7. Step 600

    600

    #B5379A

    oklch(55.6% 0.193 337.7)

  8. Step 700

    700 (this color)

    #9B2783

    oklch(48.9% 0.18 337.7)

  9. Step 800

    800

    #7F236B

    oklch(42.7% 0.15 337.9)

  10. Step 900

    900

    #662357

    oklch(37.7% 0.117 337.5)

  11. Step 950

    950

    #3C1633

    oklch(27% 0.073 337.5)

Export this scale for Tailwind in the Tailwind colors tool

#9B2783 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)#2C4E860.197
Deuteranopia (no green cones)#5360800.170
Tritanopia (no blue cones)#A42D520.087
Achromatopsia (no color)#5959590.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B2783

    #9B2783

    oklch(48.9% 0.18 337.7)

  • #007346

    #007346

    oklch(48.9% 0.115 157.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B2783

    #9B2783

    oklch(48.9% 0.18 337.7)

  • #7C39AD

    #7C39AD

    oklch(48.9% 0.18 307.5)

  • #AC1A4D

    #AC1A4D

    oklch(48.8% 0.18 7.6)

Open the analogous palette in the generator

Split complementary

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

  • #9B2783

    #9B2783

    oklch(48.9% 0.18 337.7)

  • #4B6D00

    #4B6D00

    oklch(49% 0.128 127.9)

  • #006F69

    #006F69

    oklch(48.8% 0.085 188.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B2783

    #9B2783

    oklch(48.9% 0.18 337.7)

  • #706000

    #706000

    oklch(49% 0.101 97.8)

  • #006C81

    #006C81

    oklch(49% 0.088 217.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B2783

    #9B2783

    oklch(48.9% 0.18 337.7)

  • #875200

    #875200

    oklch(48.8% 0.107 67.7)

  • #007346

    #007346

    oklch(48.9% 0.115 157.9)

  • #0063A6

    #0063A6

    oklch(48.8% 0.132 248.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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