#9C5CB3

Closest named color: Amethyst (#9B5FC0). oklch(58.1% 0.145 316.6), rgb(156, 92, 179).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.145)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.59:1
White text4.56:1

Values

HEX#9C5CB3
RGBrgb(156, 92, 179)
HSLhsl(284, 36%, 53%)
OKLCHoklch(58.1% 0.145 316.6)

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 #9C5CB3 4.56:1 AA Lc -76.9 Fine for body text
Black text on #9C5CB3 4.59:1 AA Lc 32.6 Non-text elements, placeholder text
#9C5CB3 text on white 4.56:1 AA Lc 71.5 Content text, not long reading
#9C5CB3 text on black 4.59:1 AA Lc -30.2 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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E3D2E9

    oklch(88.4% 0.036 317.3)

  4. Step 300

    300

    #D2B4DD

    oklch(80.9% 0.065 316.9)

  5. Step 400

    400

    #BB8CCC

    oklch(70.7% 0.104 316.9)

  6. Step 500

    500

    #A96EBF

    oklch(63.1% 0.133 316.4)

  7. Step 600

    600 (this color)

    #9C5CB3

    oklch(58.1% 0.145 316.6)

  8. Step 700

    700

    #7E4493

    oklch(49.1% 0.135 316.4)

  9. Step 800

    800

    #673977

    oklch(42.8% 0.111 316.8)

  10. Step 900

    900

    #543160

    oklch(37.7% 0.088 317)

  11. Step 950

    950

    #311D38

    oklch(26.9% 0.055 317)

Export this scale for Tailwind in the Tailwind colors tool

#9C5CB3 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)#4B72B60.127
Deuteranopia (no green cones)#5E78B10.114
Tritanopia (no blue cones)#9B697F0.096
Achromatopsia (no color)#7676760.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C5CB3

    #9C5CB3

    oklch(58.1% 0.145 316.6)

  • #4F8D2D

    #4F8D2D

    oklch(58.1% 0.144 136.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C5CB3

    #9C5CB3

    oklch(58.1% 0.145 316.6)

  • #766ACB

    #766ACB

    oklch(58.1% 0.145 286.6)

  • #B5528C

    #B5528C

    oklch(58.1% 0.145 346.3)

Open the analogous palette in the generator

Split complementary

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

  • #9C5CB3

    #9C5CB3

    oklch(58.1% 0.145 316.6)

  • #847F00

    #847F00

    oklch(58.2% 0.125 106.9)

  • #00916B

    #00916B

    oklch(58.2% 0.12 166.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C5CB3

    #9C5CB3

    oklch(58.1% 0.145 316.6)

  • #A36F00

    #A36F00

    oklch(58.1% 0.122 76.4)

  • #008C8E

    #008C8E

    oklch(58% 0.099 196.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C5CB3

    #9C5CB3

    oklch(58.1% 0.145 316.6)

  • #BD5A21

    #BD5A21

    oklch(58.1% 0.144 46.6)

  • #4F8D2D

    #4F8D2D

    oklch(58.1% 0.144 136.4)

  • #0087AD

    #0087AD

    oklch(58.1% 0.112 226.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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