#9F5DFD

Closest named color: Lighter Purple (#A55AF4). oklch(63.2% 0.227 298.6), rgb(159, 93, 253).

Aa

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

About this color

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

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

Values

HEX#9F5DFD
RGBrgb(159, 93, 253)
HSLhsl(265, 98%, 68%)
OKLCHoklch(63.2% 0.227 298.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 #9F5DFD 3.84:1 AA large text Lc -70.9 Content text, not long reading
Black text on #9F5DFD 5.45:1 AA Lc 38.7 Non-text elements, placeholder text
#9F5DFD text on white 3.84:1 AA large text Lc 65.4 Content text, not long reading
#9F5DFD text on black 5.45:1 AA Lc -36.3 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

    #F6F3FE

    oklch(97% 0.015 298.6)

  2. Step 100

    100

    #ECE6FD

    oklch(93.6% 0.031 297.7)

  3. Step 200

    200

    #DED1FD

    oklch(88.5% 0.061 298.7)

  4. Step 300

    300

    #CAB1FF

    oklch(81% 0.111 298.6)

  5. Step 400

    400

    #B083FF

    oklch(70.6% 0.179 298.5)

  6. Step 500

    500 (this color)

    #9F5DFD

    oklch(63.2% 0.227 298.6)

  7. Step 600

    600

    #8B3AEC

    oklch(55.6% 0.247 298.6)

  8. Step 700

    700

    #7629CD

    oklch(49.1% 0.229 298.5)

  9. Step 800

    800

    #6025A6

    oklch(42.7% 0.191 298.6)

  10. Step 900

    900

    #4E2683

    oklch(37.7% 0.148 298.8)

  11. Step 950

    950

    #2D184D

    oklch(27% 0.094 298.1)

Export this scale for Tailwind in the Tailwind colors tool

#9F5DFD 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)#0082FF0.161
Deuteranopia (no green cones)#0080FA0.162
Tritanopia (no blue cones)#8981A50.173
Achromatopsia (no color)#8282820.229

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F5DFD

    #9F5DFD

    oklch(63.2% 0.227 298.6)

  • #819500

    #819500

    oklch(63.2% 0.148 118.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F5DFD

    #9F5DFD

    oklch(63.2% 0.227 298.6)

  • #597DFF

    #597DFF

    oklch(63.2% 0.197 268.6)

  • #CE45CC

    #CE45CC

    oklch(63.1% 0.227 328.5)

Open the analogous palette in the generator

Split complementary

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

  • #9F5DFD

    #9F5DFD

    oklch(63.2% 0.227 298.6)

  • #A98400

    #A98400

    oklch(63.1% 0.129 88.8)

  • #00A645

    #00A645

    oklch(63.3% 0.18 148.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F5DFD

    #9F5DFD

    oklch(63.2% 0.227 298.6)

  • #CA6E00

    #CA6E00

    oklch(63% 0.15 58.5)

  • #00A08A

    #00A08A

    oklch(63.2% 0.116 178.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F5DFD

    #9F5DFD

    oklch(63.2% 0.227 298.6)

  • #F5352B

    #F5352B

    oklch(63.2% 0.228 28.7)

  • #819500

    #819500

    oklch(63.2% 0.148 118.8)

  • #009BAC

    #009BAC

    oklch(63.1% 0.109 208.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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