#9F58D2

Closest named color: Amethyst (#9B5FC0). oklch(59.7% 0.187 308.6), rgb(159, 88, 210).

Aa

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

About this color

#9F58D2 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.187 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.034 away. Black text reads best on it, at 4.80:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.187)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.80:1
White text4.37:1

Values

HEX#9F58D2
RGBrgb(159, 88, 210)
HSLhsl(275, 58%, 58%)
OKLCHoklch(59.7% 0.187 308.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 #9F58D2 4.37:1 AA large text Lc -75.4 Fine for body text
Black text on #9F58D2 4.80:1 AA Lc 34.2 Non-text elements, placeholder text
#9F58D2 text on white 4.37:1 AA large text Lc 69.9 Content text, not long reading
#9F58D2 text on black 4.80:1 AA Lc -31.8 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F8

    oklch(93.5% 0.027 309.2)

  3. Step 200

    200

    #E3D1F3

    oklch(88.6% 0.05 309.1)

  4. Step 300

    300

    #D1B1EE

    oklch(80.9% 0.091 308.3)

  5. Step 400

    400

    #BB85E5

    oklch(70.7% 0.146 309)

  6. Step 500

    500 (this color)

    #9F58D2

    oklch(59.7% 0.187 308.6)

  7. Step 600

    600

    #9545CB

    oklch(55.5% 0.203 308.6)

  8. Step 700

    700

    #7F35B0

    oklch(49% 0.189 308.5)

  9. Step 800

    800

    #672E8E

    oklch(42.7% 0.155 308.5)

  10. Step 900

    900

    #542A72

    oklch(37.7% 0.123 308.5)

  11. Step 950

    950

    #311A43

    oklch(27.1% 0.077 308)

Export this scale for Tailwind in the Tailwind colors tool

#9F58D2 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)#2A76D60.158
Deuteranopia (no green cones)#487ACF0.141
Tritanopia (no blue cones)#986F8D0.131
Achromatopsia (no color)#7979790.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F58D2

    #9F58D2

    oklch(59.7% 0.187 308.6)

  • #629000

    #629000

    oklch(59.7% 0.158 128.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F58D2

    #9F58D2

    oklch(59.7% 0.187 308.6)

  • #6B6CEB

    #6B6CEB

    oklch(59.7% 0.187 278.8)

  • #C248A4

    #C248A4

    oklch(59.7% 0.186 338.6)

Open the analogous palette in the generator

Split complementary

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

  • #9F58D2

    #9F58D2

    oklch(59.7% 0.187 308.6)

  • #927F00

    #927F00

    oklch(59.6% 0.123 98.7)

  • #00975F

    #00975F

    oklch(59.6% 0.138 158.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F58D2

    #9F58D2

    oklch(59.7% 0.187 308.6)

  • #B16E00

    #B16E00

    oklch(59.7% 0.131 68.4)

  • #00938B

    #00938B

    oklch(59.8% 0.104 188)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F58D2

    #9F58D2

    oklch(59.7% 0.187 308.6)

  • #D6490E

    #D6490E

    oklch(59.6% 0.187 38.6)

  • #629000

    #629000

    oklch(59.7% 0.158 128.7)

  • #008EAA

    #008EAA

    oklch(59.7% 0.107 218.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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