#9D5AFF

Closest named color: Lighter Purple (#A55AF4). oklch(62.7% 0.233 298), rgb(157, 90, 255).

Aa

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

About this color

#9D5AFF is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.233 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.022 away. Black text reads best on it, at 5.34:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.233)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.34:1
White text3.93:1

Values

HEX#9D5AFF
RGBrgb(157, 90, 255)
HSLhsl(264, 100%, 68%)
OKLCHoklch(62.7% 0.233 298)

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 #9D5AFF 3.93:1 AA large text Lc -71.6 Content text, not long reading
Black text on #9D5AFF 5.34:1 AA Lc 38.0 Non-text elements, placeholder text
#9D5AFF text on white 3.93:1 AA large text Lc 66.1 Content text, not long reading
#9D5AFF text on black 5.34:1 AA Lc -35.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 500.

  1. Step 50

    50

    #F6F3FF

    oklch(97% 0.016 297.5)

  2. Step 100

    100

    #ECE6FE

    oklch(93.7% 0.033 297.2)

  3. Step 200

    200

    #DED1FE

    oklch(88.6% 0.063 298.3)

  4. Step 300

    300

    #C9B1FF

    oklch(80.9% 0.111 298)

  5. Step 400

    400

    #AF84FF

    oklch(70.7% 0.177 297.9)

  6. Step 500

    500 (this color)

    #9D5AFF

    oklch(62.7% 0.233 298)

  7. Step 600

    600

    #8B37F0

    oklch(55.7% 0.253 298)

  8. Step 700

    700

    #7626D1

    oklch(49.2% 0.236 297.9)

  9. Step 800

    800

    #6023A9

    oklch(42.7% 0.196 298)

  10. Step 900

    900

    #4E2586

    oklch(37.8% 0.153 298)

  11. Step 950

    950

    #2D174E

    oklch(26.9% 0.097 298)

Export this scale for Tailwind in the Tailwind colors tool

#9D5AFF 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)#0081FF0.161
Deuteranopia (no green cones)#007FFC0.161
Tritanopia (no blue cones)#8680A50.178
Achromatopsia (no color)#8080800.235

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D5AFF

    #9D5AFF

    oklch(62.7% 0.233 298)

  • #819300

    #819300

    oklch(62.7% 0.146 118.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D5AFF

    #9D5AFF

    oklch(62.7% 0.233 298)

  • #557CFF

    #557CFF

    oklch(62.8% 0.199 267.8)

  • #CD41CD

    #CD41CD

    oklch(62.6% 0.232 327.9)

Open the analogous palette in the generator

Split complementary

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

  • #9D5AFF

    #9D5AFF

    oklch(62.7% 0.233 298)

  • #A88200

    #A88200

    oklch(62.6% 0.128 87.9)

  • #00A441

    #00A441

    oklch(62.7% 0.181 148)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D5AFF

    #9D5AFF

    oklch(62.7% 0.233 298)

  • #C96D00

    #C96D00

    oklch(62.7% 0.15 58.2)

  • #009E88

    #009E88

    oklch(62.6% 0.115 178.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D5AFF

    #9D5AFF

    oklch(62.7% 0.233 298)

  • #F52D29

    #F52D29

    oklch(62.7% 0.233 28)

  • #819300

    #819300

    oklch(62.7% 0.146 118.1)

  • #009AAA

    #009AAA

    oklch(62.8% 0.108 207.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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