#9731B0

Closest named color: Purply (#983FB2). oklch(51.8% 0.203 318.9), rgb(151, 49, 176).

Aa

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

About this color

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

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

Values

HEX#9731B0
RGBrgb(151, 49, 176)
HSLhsl(288, 56%, 44%)
OKLCHoklch(51.8% 0.203 318.9)

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 #9731B0 6.20:1 AA Lc -85.2 Fine for body text
Black text on #9731B0 3.38:1 AA large text Lc 24.1 Dividers and decoration only
#9731B0 text on white 6.20:1 AA Lc 80.0 Fine for body text
#9731B0 text on black 3.38:1 AA large text Lc -21.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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F6

    oklch(93.5% 0.028 318.7)

  3. Step 200

    200

    #E9CEF0

    oklch(88.4% 0.054 319.3)

  4. Step 300

    300

    #DCADE9

    oklch(81% 0.097 318.8)

  5. Step 400

    400

    #CA7EDE

    oklch(70.8% 0.157 319.1)

  6. Step 500

    500

    #BB58D5

    oklch(63.2% 0.2 318.8)

  7. Step 600

    600

    #A637C2

    oklch(55.6% 0.217 318.7)

  8. Step 700

    700 (this color)

    #9731B0

    oklch(51.8% 0.203 318.9)

  9. Step 800

    800

    #742387

    oklch(42.7% 0.167 319.3)

  10. Step 900

    900

    #5E246C

    oklch(37.8% 0.13 319.3)

  11. Step 950

    950

    #371640

    oklch(27% 0.084 318.6)

Export this scale for Tailwind in the Tailwind colors tool

#9731B0 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)#005AB40.198
Deuteranopia (no green cones)#3964AD0.174
Tritanopia (no blue cones)#974A6E0.126
Achromatopsia (no color)#6161610.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #9731B0

    #9731B0

    oklch(51.8% 0.203 318.9)

  • #2B7D00

    #2B7D00

    oklch(51.9% 0.163 139)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9731B0

    #9731B0

    oklch(51.8% 0.203 318.9)

  • #6A47D2

    #6A47D2

    oklch(51.7% 0.202 288.9)

  • #B4197B

    #B4197B

    oklch(51.8% 0.203 348.7)

Open the analogous palette in the generator

Split complementary

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

  • #9731B0

    #9731B0

    oklch(51.8% 0.203 318.9)

  • #6E6D00

    #6E6D00

    oklch(51.9% 0.113 109.1)

  • #007B5E

    #007B5E

    oklch(51.8% 0.104 169)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9731B0

    #9731B0

    oklch(51.8% 0.203 318.9)

  • #896000

    #896000

    oklch(51.9% 0.108 79.5)

  • #00777B

    #00777B

    oklch(51.7% 0.088 198.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9731B0

    #9731B0

    oklch(51.8% 0.203 318.9)

  • #A54A00

    #A54A00

    oklch(51.8% 0.139 49.1)

  • #2B7D00

    #2B7D00

    oklch(51.9% 0.163 139)

  • #007397

    #007397

    oklch(51.9% 0.102 228.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9731B0.

Similar named colors

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

Use #9731B0 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.