#9C5DBA

Closest named color: Amethyst (#9B5FC0). oklch(58.7% 0.151 313.9), rgb(156, 93, 186).

Aa

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

About this color

#9C5DBA is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.151 and its hue 314°. 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.68:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.151)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.68:1
White text4.47:1

Values

HEX#9C5DBA
RGBrgb(156, 93, 186)
HSLhsl(281, 40%, 55%)
OKLCHoklch(58.7% 0.151 313.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 #9C5DBA 4.47:1 AA large text Lc -76.3 Fine for body text
Black text on #9C5DBA 4.68:1 AA Lc 33.3 Non-text elements, placeholder text
#9C5DBA text on white 4.47:1 AA large text Lc 70.8 Content text, not long reading
#9C5DBA text on black 4.68:1 AA Lc -30.9 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

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E2D2EB

    oklch(88.4% 0.038 313.6)

  4. Step 300

    300

    #D1B4E0

    oklch(80.9% 0.068 314.1)

  5. Step 400

    400

    #B98CD0

    oklch(70.7% 0.108 313.9)

  6. Step 500

    500

    #A76EC4

    oklch(63.1% 0.138 313.5)

  7. Step 600

    600 (this color)

    #9C5DBA

    oklch(58.7% 0.151 313.9)

  8. Step 700

    700

    #7D4497

    oklch(49.2% 0.139 314.1)

  9. Step 800

    800

    #65387B

    oklch(42.6% 0.117 313.5)

  10. Step 900

    900

    #533163

    oklch(37.7% 0.091 314.1)

  11. Step 950

    950

    #301D3A

    oklch(26.9% 0.058 313.2)

Export this scale for Tailwind in the Tailwind colors tool

#9C5DBA 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)#4873BD0.129
Deuteranopia (no green cones)#5B79B80.115
Tritanopia (no blue cones)#9A6B830.101
Achromatopsia (no color)#7777770.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C5DBA

    #9C5DBA

    oklch(58.7% 0.151 313.9)

  • #548E22

    #548E22

    oklch(58.5% 0.15 134)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C5DBA

    #9C5DBA

    oklch(58.7% 0.151 313.9)

  • #736CD1

    #736CD1

    oklch(58.6% 0.151 283.9)

  • #B75292

    #B75292

    oklch(58.6% 0.15 343.9)

Open the analogous palette in the generator

Split complementary

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

  • #9C5DBA

    #9C5DBA

    oklch(58.7% 0.151 313.9)

  • #897F00

    #897F00

    oklch(58.7% 0.124 104)

  • #009368

    #009368

    oklch(58.7% 0.125 164)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C5DBA

    #9C5DBA

    oklch(58.7% 0.151 313.9)

  • #A76F00

    #A76F00

    oklch(58.6% 0.124 74.2)

  • #008E8D

    #008E8D

    oklch(58.5% 0.1 193.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C5DBA

    #9C5DBA

    oklch(58.7% 0.151 313.9)

  • #C35823

    #C35823

    oklch(58.7% 0.151 43.8)

  • #548E22

    #548E22

    oklch(58.5% 0.15 134)

  • #0089AC

    #0089AC

    oklch(58.5% 0.11 224)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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