#9A5DBA

Closest named color: Amethyst (#9B5FC0). oklch(58.4% 0.15 312.9), rgb(154, 93, 186).

Aa

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

About this color

#9A5DBA is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.150 and its hue 313°. 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.64:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.150)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.64:1
White text4.51:1

Values

HEX#9A5DBA
RGBrgb(154, 93, 186)
HSLhsl(279, 40%, 55%)
OKLCHoklch(58.4% 0.15 312.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 #9A5DBA 4.51:1 AA Lc -76.5 Fine for body text
Black text on #9A5DBA 4.64:1 AA Lc 33.0 Non-text elements, placeholder text
#9A5DBA text on white 4.51:1 AA Lc 71.1 Content text, not long reading
#9A5DBA text on black 4.64:1 AA Lc -30.6 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

    #EEE6F3

    oklch(93.5% 0.019 312.8)

  3. Step 200

    200

    #E2D2EB

    oklch(88.4% 0.038 313.6)

  4. Step 300

    300

    #D0B4E0

    oklch(80.8% 0.068 313.2)

  5. Step 400

    400

    #B88CD1

    oklch(70.6% 0.109 312.8)

  6. Step 500

    500

    #A66EC4

    oklch(63% 0.138 313)

  7. Step 600

    600 (this color)

    #9A5DBA

    oklch(58.4% 0.15 312.9)

  8. Step 700

    700

    #7C4498

    oklch(49.1% 0.14 313.2)

  9. Step 800

    800

    #65397B

    oklch(42.8% 0.115 313.3)

  10. Step 900

    900

    #523263

    oklch(37.8% 0.089 312.9)

  11. Step 950

    950

    #301D3A

    oklch(26.9% 0.058 313.2)

Export this scale for Tailwind in the Tailwind colors tool

#9A5DBA 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)#4773BD0.127
Deuteranopia (no green cones)#5978B80.114
Tritanopia (no blue cones)#976C830.103
Achromatopsia (no color)#7676760.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A5DBA

    #9A5DBA

    oklch(58.4% 0.15 312.9)

  • #568D1F

    #568D1F

    oklch(58.3% 0.15 133)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A5DBA

    #9A5DBA

    oklch(58.4% 0.15 312.9)

  • #716CD1

    #716CD1

    oklch(58.4% 0.151 282.9)

  • #B65293

    #B65293

    oklch(58.5% 0.15 343)

Open the analogous palette in the generator

Split complementary

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

  • #9A5DBA

    #9A5DBA

    oklch(58.4% 0.15 312.9)

  • #8A7E00

    #8A7E00

    oklch(58.6% 0.123 102.8)

  • #009265

    #009265

    oklch(58.4% 0.126 162.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A5DBA

    #9A5DBA

    oklch(58.4% 0.15 312.9)

  • #A86E00

    #A86E00

    oklch(58.5% 0.125 72.9)

  • #008E8C

    #008E8C

    oklch(58.5% 0.1 193)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A5DBA

    #9A5DBA

    oklch(58.4% 0.15 312.9)

  • #C25726

    #C25726

    oklch(58.4% 0.15 42.7)

  • #568D1F

    #568D1F

    oklch(58.3% 0.15 133)

  • #0089AA

    #0089AA

    oklch(58.5% 0.109 222.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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