#9B3182

Closest named color: Warm Purple (#952E8F). oklch(49.8% 0.167 338.6), rgb(155, 49, 130).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.167)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.15:1
White text6.65:1

Values

HEX#9B3182
RGBrgb(155, 49, 130)
HSLhsl(314, 52%, 40%)
OKLCHoklch(49.8% 0.167 338.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 #9B3182 6.65:1 AA Lc -87.1 Fine for body text
Black text on #9B3182 3.15:1 AA large text Lc 22.1 Dividers and decoration only
#9B3182 text on white 6.65:1 AA Lc 82.0 Fine for body text
#9B3182 text on black 3.15:1 AA large text Lc -19.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

    #F5E4EF

    oklch(93.6% 0.023 338.6)

  3. Step 200

    200

    #EECEE3

    oklch(88.4% 0.045 338.7)

  4. Step 300

    300

    #E4ADD2

    oklch(80.9% 0.08 338.9)

  5. Step 400

    400

    #D47FBC

    oklch(70.6% 0.13 338.2)

  6. Step 500

    500

    #C75CAB

    oklch(63.2% 0.165 338.5)

  7. Step 600

    600

    #B23E96

    oklch(55.6% 0.179 338.6)

  8. Step 700

    700 (this color)

    #9B3182

    oklch(49.8% 0.167 338.6)

  9. Step 800

    800

    #7C2868

    oklch(42.6% 0.139 338.5)

  10. Step 900

    900

    #642655

    oklch(37.6% 0.108 338)

  11. Step 950

    950

    #3B1732

    oklch(27% 0.069 337.9)

Export this scale for Tailwind in the Tailwind colors tool

#9B3182 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)#3652840.180
Deuteranopia (no green cones)#57627F0.157
Tritanopia (no blue cones)#A435550.079
Achromatopsia (no color)#5C5C5C0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B3182

    #9B3182

    oklch(49.8% 0.167 338.6)

  • #007649

    #007649

    oklch(49.9% 0.116 158.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B3182

    #9B3182

    oklch(49.8% 0.167 338.6)

  • #7E40A9

    #7E40A9

    oklch(49.8% 0.166 308.8)

  • #AB294F

    #AB294F

    oklch(49.8% 0.167 8.7)

Open the analogous palette in the generator

Split complementary

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

  • #9B3182

    #9B3182

    oklch(49.8% 0.167 338.6)

  • #4B7000

    #4B7000

    oklch(49.8% 0.132 128.8)

  • #00726C

    #00726C

    oklch(49.8% 0.086 188.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B3182

    #9B3182

    oklch(49.8% 0.167 338.6)

  • #726300

    #726300

    oklch(49.9% 0.103 98.9)

  • #006E85

    #006E85

    oklch(49.7% 0.09 219)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B3182

    #9B3182

    oklch(49.8% 0.167 338.6)

  • #8A5500

    #8A5500

    oklch(49.8% 0.109 68.7)

  • #007649

    #007649

    oklch(49.9% 0.116 158.4)

  • #0066AB

    #0066AB

    oklch(49.9% 0.135 248.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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