#9D56C5

Closest named color: Amethyst (#9B5FC0). oklch(58.4% 0.175 311.7), rgb(157, 86, 197).

Aa

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

About this color

#9D56C5 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.175 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.022 away. White text reads best on it, at 4.59:1.

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

Values

HEX#9D56C5
RGBrgb(157, 86, 197)
HSLhsl(278, 49%, 55%)
OKLCHoklch(58.4% 0.175 311.7)

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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E3D1EF

    oklch(88.4% 0.045 312)

  4. Step 300

    300

    #D2B3E6

    oklch(81% 0.078 312)

  5. Step 400

    400

    #BA89D9

    oklch(70.7% 0.125 311.6)

  6. Step 500

    500

    #A969CF

    oklch(63.1% 0.16 311.6)

  7. Step 600

    600 (this color)

    #9D56C5

    oklch(58.4% 0.175 311.7)

  8. Step 700

    700

    #7F3EA2

    oklch(49.2% 0.162 311.9)

  9. Step 800

    800

    #673483

    oklch(42.8% 0.134 311.9)

  10. Step 900

    900

    #542E69

    oklch(37.7% 0.105 312.1)

  11. Step 950

    950

    #311C3E

    oklch(27.1% 0.066 311.2)

Export this scale for Tailwind in the Tailwind colors tool

#9D56C5 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)#3472C90.152
Deuteranopia (no green cones)#4E77C20.135
Tritanopia (no blue cones)#9969850.120
Achromatopsia (no color)#7575750.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D56C5

    #9D56C5

    oklch(58.4% 0.175 311.7)

  • #568E00

    #568E00

    oklch(58.5% 0.162 131.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D56C5

    #9D56C5

    oklch(58.4% 0.175 311.7)

  • #6E68DE

    #6E68DE

    oklch(58.3% 0.174 281.8)

  • #BC4898

    #BC4898

    oklch(58.3% 0.174 341.7)

Open the analogous palette in the generator

Split complementary

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

  • #9D56C5

    #9D56C5

    oklch(58.4% 0.175 311.7)

  • #8B7D00

    #8B7D00

    oklch(58.4% 0.122 101.6)

  • #009263

    #009263

    oklch(58.3% 0.128 161.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D56C5

    #9D56C5

    oklch(58.4% 0.175 311.7)

  • #A86D00

    #A86D00

    oklch(58.4% 0.125 72.1)

  • #008E8A

    #008E8A

    oklch(58.4% 0.1 191.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D56C5

    #9D56C5

    oklch(58.4% 0.175 311.7)

  • #CC4D06

    #CC4D06

    oklch(58.4% 0.174 41.8)

  • #568E00

    #568E00

    oklch(58.5% 0.162 131.8)

  • #0089A9

    #0089A9

    oklch(58.4% 0.108 221.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9D56C5.

Similar named colors

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

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