#9D5BC2

Closest named color: Amethyst (#9B5FC0). oklch(58.9% 0.163 312), rgb(157, 91, 194).

Aa

Black text reads best on this color (4.70:1).

About this color

#9D5BC2 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.163 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.010 away. Black text reads best on it, at 4.70:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.163)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.70:1
White text4.45:1

Values

HEX#9D5BC2
RGBrgb(157, 91, 194)
HSLhsl(278, 46%, 56%)
OKLCHoklch(58.9% 0.163 312)

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 #9D5BC2 4.45:1 AA large text Lc -76.1 Fine for body text
Black text on #9D5BC2 4.70:1 AA Lc 33.5 Non-text elements, placeholder text
#9D5BC2 text on white 4.45:1 AA large text Lc 70.6 Content text, not long reading
#9D5BC2 text on black 4.70:1 AA Lc -31.1 Non-text elements, placeholder text

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 600.

  1. Step 50

    50

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E2D2ED

    oklch(88.5% 0.04 311.7)

  4. Step 300

    300

    #D1B3E4

    oklch(80.9% 0.075 312.2)

  5. Step 400

    400

    #B98BD6

    oklch(70.8% 0.117 311.7)

  6. Step 500

    500

    #A86BCA

    oklch(63.1% 0.151 312.4)

  7. Step 600

    600 (this color)

    #9D5BC2

    oklch(58.9% 0.163 312)

  8. Step 700

    700

    #7D419E

    oklch(49.1% 0.152 311.9)

  9. Step 800

    800

    #663680

    oklch(42.7% 0.126 312.2)

  10. Step 900

    900

    #533067

    oklch(37.8% 0.098 311.9)

  11. Step 950

    950

    #301C3C

    oklch(26.8% 0.063 311.6)

Export this scale for Tailwind in the Tailwind colors tool

#9D5BC2 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)#4074C50.139
Deuteranopia (no green cones)#5579BF0.124
Tritanopia (no blue cones)#996C860.112
Achromatopsia (no color)#7777770.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D5BC2

    #9D5BC2

    oklch(58.9% 0.163 312)

  • #569000

    #569000

    oklch(59% 0.164 132.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D5BC2

    #9D5BC2

    oklch(58.9% 0.163 312)

  • #706CDA

    #706CDA

    oklch(58.9% 0.163 281.8)

  • #BB4E98

    #BB4E98

    oklch(58.9% 0.164 341.9)

Open the analogous palette in the generator

Split complementary

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

  • #9D5BC2

    #9D5BC2

    oklch(58.9% 0.163 312)

  • #8C7F00

    #8C7F00

    oklch(59% 0.124 102.3)

  • #009465

    #009465

    oklch(58.9% 0.129 162.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D5BC2

    #9D5BC2

    oklch(58.9% 0.163 312)

  • #AA6E00

    #AA6E00

    oklch(58.8% 0.126 71.9)

  • #00908C

    #00908C

    oklch(59% 0.101 191.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D5BC2

    #9D5BC2

    oklch(58.9% 0.163 312)

  • #C9531C

    #C9531C

    oklch(58.8% 0.163 41.9)

  • #569000

    #569000

    oklch(59% 0.164 132.1)

  • #008BAB

    #008BAB

    oklch(59% 0.109 221.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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