#9B338F

Closest named color: Warm Purple (#952E8F). oklch(50.7% 0.174 332.8), rgb(155, 51, 143).

Aa

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

About this color

#9B338F is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.174 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.016 away. White text reads best on it, at 6.43:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.174)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.26:1
White text6.43:1

Values

HEX#9B338F
RGBrgb(155, 51, 143)
HSLhsl(307, 50%, 40%)
OKLCHoklch(50.7% 0.174 332.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 #9B338F 6.43:1 AA Lc -86.2 Fine for body text
Black text on #9B338F 3.26:1 AA large text Lc 23.0 Dividers and decoration only
#9B338F text on white 6.43:1 AA Lc 81.1 Fine for body text
#9B338F text on black 3.26:1 AA large text Lc -20.8 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F1

    oklch(93.5% 0.024 331.9)

  3. Step 200

    200

    #EDCEE7

    oklch(88.5% 0.048 332.5)

  4. Step 300

    300

    #E2ADD8

    oklch(80.9% 0.084 333)

  5. Step 400

    400

    #D27FC5

    oklch(70.7% 0.136 332.8)

  6. Step 500

    500

    #C45BB6

    oklch(63.1% 0.173 332.8)

  7. Step 600

    600

    #AF3DA1

    oklch(55.6% 0.187 333)

  8. Step 700

    700 (this color)

    #9B338F

    oklch(50.7% 0.174 332.8)

  9. Step 800

    800

    #7A2870

    oklch(42.7% 0.144 333)

  10. Step 900

    900

    #63265B

    oklch(37.8% 0.113 332.9)

  11. Step 950

    950

    #3A1735

    oklch(27% 0.071 333.1)

Export this scale for Tailwind in the Tailwind colors tool

#9B338F 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)#2F55920.185
Deuteranopia (no green cones)#53648C0.160
Tritanopia (no blue cones)#A23C5C0.091
Achromatopsia (no color)#5F5F5F0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B338F

    #9B338F

    oklch(50.7% 0.174 332.8)

  • #007A3E

    #007A3E

    oklch(50.8% 0.132 152.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B338F

    #9B338F

    oklch(50.7% 0.174 332.8)

  • #7A43B5

    #7A43B5

    oklch(50.6% 0.175 302.8)

  • #AF285C

    #AF285C

    oklch(50.8% 0.174 2.8)

Open the analogous palette in the generator

Split complementary

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

  • #9B338F

    #9B338F

    oklch(50.7% 0.174 332.8)

  • #587000

    #587000

    oklch(50.7% 0.125 123.1)

  • #00766A

    #00766A

    oklch(50.8% 0.091 182.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B338F

    #9B338F

    oklch(50.7% 0.174 332.8)

  • #7A6300

    #7A6300

    oklch(50.8% 0.104 92.9)

  • #007283

    #007283

    oklch(50.7% 0.089 212.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B338F

    #9B338F

    oklch(50.7% 0.174 332.8)

  • #925300

    #925300

    oklch(50.5% 0.116 62.6)

  • #007A3E

    #007A3E

    oklch(50.8% 0.132 152.6)

  • #006BA4

    #006BA4

    oklch(50.6% 0.121 242.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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