#9B2F7C

Closest named color: Warm Purple (#952E8F). oklch(49.3% 0.166 341.4), rgb(155, 47, 124).

Aa

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

About this color

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

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

Values

HEX#9B2F7C
RGBrgb(155, 47, 124)
HSLhsl(317, 53%, 40%)
OKLCHoklch(49.3% 0.166 341.4)

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 #9B2F7C 6.79:1 AA Lc -87.5 Fine for body text
Black text on #9B2F7C 3.09:1 AA large text Lc 21.6 Dividers and decoration only
#9B2F7C text on white 6.79:1 AA Lc 82.5 Fine for body text
#9B2F7C text on black 3.09:1 AA large text Lc -19.4 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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F5E4EE

    oklch(93.5% 0.023 341.3)

  3. Step 200

    200

    #EFCEE2

    oklch(88.5% 0.045 341.1)

  4. Step 300

    300

    #E5ADD0

    oklch(81% 0.079 341.1)

  5. Step 400

    400

    #D67FB8

    oklch(70.7% 0.128 341.2)

  6. Step 500

    500

    #C95BA6

    oklch(63.1% 0.165 341.4)

  7. Step 600

    600

    #B43D91

    oklch(55.6% 0.179 341.4)

  8. Step 700

    700 (this color)

    #9B2F7C

    oklch(49.3% 0.166 341.4)

  9. Step 800

    800

    #7D2864

    oklch(42.6% 0.137 341.4)

  10. Step 900

    900

    #652652

    oklch(37.6% 0.107 341)

  11. Step 950

    950

    #3C1730

    oklch(27% 0.068 341.6)

Export this scale for Tailwind in the Tailwind colors tool

#9B2F7C 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)#37507E0.181
Deuteranopia (no green cones)#5961790.157
Tritanopia (no blue cones)#A431510.074
Achromatopsia (no color)#5B5B5B0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B2F7C

    #9B2F7C

    oklch(49.3% 0.166 341.4)

  • #00744D

    #00744D

    oklch(49.4% 0.109 161.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B2F7C

    #9B2F7C

    oklch(49.3% 0.166 341.4)

  • #7F3DA4

    #7F3DA4

    oklch(49.2% 0.166 311.3)

  • #AA2849

    #AA2849

    oklch(49.4% 0.166 11.3)

Open the analogous palette in the generator

Split complementary

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

  • #9B2F7C

    #9B2F7C

    oklch(49.3% 0.166 341.4)

  • #447000

    #447000

    oklch(49.4% 0.136 131.3)

  • #00706D

    #00706D

    oklch(49.2% 0.085 191.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B2F7C

    #9B2F7C

    oklch(49.3% 0.166 341.4)

  • #6E6200

    #6E6200

    oklch(49.2% 0.103 101)

  • #006C86

    #006C86

    oklch(49.3% 0.091 222.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B2F7C

    #9B2F7C

    oklch(49.3% 0.166 341.4)

  • #865500

    #865500

    oklch(49.3% 0.106 71.2)

  • #00744D

    #00744D

    oklch(49.4% 0.109 161.3)

  • #0062B0

    #0062B0

    oklch(49.3% 0.146 251.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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