#9A5FDD

Closest named color: Medium Purple (#9370DB). oklch(60.8% 0.187 302.8), rgb(154, 95, 221).

Aa

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

About this color

#9A5FDD is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.187 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.039 away. Black text reads best on it, at 5.05:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.187)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.05:1
White text4.15:1

Values

HEX#9A5FDD
RGBrgb(154, 95, 221)
HSLhsl(268, 65%, 62%)
OKLCHoklch(60.8% 0.187 302.8)

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 #9A5FDD 4.15:1 AA large text Lc -73.7 Content text, not long reading
Black text on #9A5FDD 5.05:1 AA Lc 35.9 Non-text elements, placeholder text
#9A5FDD text on white 4.15:1 AA large text Lc 68.2 Content text, not long reading
#9A5FDD text on black 5.05:1 AA Lc -33.5 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 500.

  1. Step 50

    50

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F9

    oklch(93.6% 0.026 302.6)

  3. Step 200

    200

    #DFD2F6

    oklch(88.5% 0.051 301.8)

  4. Step 300

    300

    #CCB3F2

    oklch(81% 0.091 302.6)

  5. Step 400

    400

    #B388EB

    oklch(70.7% 0.146 302.9)

  6. Step 500

    500 (this color)

    #9A5FDD

    oklch(60.8% 0.187 302.8)

  7. Step 600

    600

    #8D49D3

    oklch(55.7% 0.204 302.9)

  8. Step 700

    700

    #7839B7

    oklch(49.2% 0.19 302.9)

  9. Step 800

    800

    #613094

    oklch(42.6% 0.158 302.7)

  10. Step 900

    900

    #4F2C76

    oklch(37.6% 0.123 302.7)

  11. Step 950

    950

    #2E1B45

    oklch(27% 0.077 302.4)

Export this scale for Tailwind in the Tailwind colors tool

#9A5FDD 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)#287BE10.145
Deuteranopia (no green cones)#417CDA0.131
Tritanopia (no blue cones)#8D78950.140
Achromatopsia (no color)#7C7C7C0.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A5FDD

    #9A5FDD

    oklch(60.8% 0.187 302.8)

  • #739000

    #739000

    oklch(60.9% 0.149 122.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A5FDD

    #9A5FDD

    oklch(60.8% 0.187 302.8)

  • #6074F1

    #6074F1

    oklch(60.9% 0.187 272.7)

  • #C04EB2

    #C04EB2

    oklch(60.8% 0.187 332.7)

Open the analogous palette in the generator

Split complementary

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

  • #9A5FDD

    #9A5FDD

    oklch(60.8% 0.187 302.8)

  • #9D8000

    #9D8000

    oklch(60.9% 0.125 92.9)

  • #009C52

    #009C52

    oklch(60.7% 0.157 152.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A5FDD

    #9A5FDD

    oklch(60.8% 0.187 302.8)

  • #BC6C00

    #BC6C00

    oklch(60.8% 0.139 62.3)

  • #009788

    #009788

    oklch(60.7% 0.108 182.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A5FDD

    #9A5FDD

    oklch(60.8% 0.187 302.8)

  • #DC492E

    #DC492E

    oklch(60.8% 0.188 32.6)

  • #739000

    #739000

    oklch(60.9% 0.149 122.7)

  • #0093A8

    #0093A8

    oklch(60.9% 0.106 212.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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