#9F5DE6

Closest named color: Lighter Purple (#A55AF4). oklch(61.6% 0.202 303.2), rgb(159, 93, 230).

Aa

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

About this color

#9F5DE6 is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.202 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.024 away. Black text reads best on it, at 5.18:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.202)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.18:1
White text4.05:1

Values

HEX#9F5DE6
RGBrgb(159, 93, 230)
HSLhsl(269, 73%, 63%)
OKLCHoklch(61.6% 0.202 303.2)

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 #9F5DE6 4.05:1 AA large text Lc -72.8 Content text, not long reading
Black text on #9F5DE6 5.18:1 AA Lc 36.8 Non-text elements, placeholder text
#9F5DE6 text on white 4.05:1 AA large text Lc 67.3 Content text, not long reading
#9F5DE6 text on black 5.18:1 AA Lc -34.4 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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #E0D1F8

    oklch(88.5% 0.055 302.8)

  4. Step 300

    300

    #CDB1F5

    oklch(80.8% 0.099 303.1)

  5. Step 400

    400

    #B585F0

    oklch(70.6% 0.158 303.3)

  6. Step 500

    500 (this color)

    #9F5DE6

    oklch(61.6% 0.202 303.2)

  7. Step 600

    600

    #8F43D9

    oklch(55.6% 0.218 303.1)

  8. Step 700

    700

    #7A33BC

    oklch(49.1% 0.203 303.2)

  9. Step 800

    800

    #632C98

    oklch(42.7% 0.168 303.2)

  10. Step 900

    900

    #512979

    oklch(37.6% 0.132 303.7)

  11. Step 950

    950

    #2F1947

    oklch(26.9% 0.084 303.3)

Export this scale for Tailwind in the Tailwind colors tool

#9F5DE6 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)#127DEA0.161
Deuteranopia (no green cones)#397EE30.145
Tritanopia (no blue cones)#9279990.149
Achromatopsia (no color)#7E7E7E0.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F5DE6

    #9F5DE6

    oklch(61.6% 0.202 303.2)

  • #749300

    #749300

    oklch(61.7% 0.152 123.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F5DE6

    #9F5DE6

    oklch(61.6% 0.202 303.2)

  • #6174FC

    #6174FC

    oklch(61.7% 0.202 273)

  • #C74AB7

    #C74AB7

    oklch(61.5% 0.201 333.1)

Open the analogous palette in the generator

Split complementary

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

  • #9F5DE6

    #9F5DE6

    oklch(61.6% 0.202 303.2)

  • #9F8200

    #9F8200

    oklch(61.6% 0.126 93.1)

  • #009F55

    #009F55

    oklch(61.6% 0.158 153.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F5DE6

    #9F5DE6

    oklch(61.6% 0.202 303.2)

  • #BF6F00

    #BF6F00

    oklch(61.7% 0.141 63.1)

  • #009A8B

    #009A8B

    oklch(61.6% 0.11 182.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F5DE6

    #9F5DE6

    oklch(61.6% 0.202 303.2)

  • #E44524

    #E44524

    oklch(61.6% 0.201 33.3)

  • #749300

    #749300

    oklch(61.7% 0.152 123.3)

  • #0095AC

    #0095AC

    oklch(61.6% 0.108 213.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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