#9F28AE

Closest named color: Purply (#983FB2). oklch(52.1% 0.214 322.9), rgb(159, 40, 174).

Aa

White text reads best on this color (6.19:1).

About this color

#9F28AE is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.214 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.036 away. White text reads best on it, at 6.19:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.214)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.38:1
White text6.19:1

Values

HEX#9F28AE
RGBrgb(159, 40, 174)
HSLhsl(293, 63%, 42%)
OKLCHoklch(52.1% 0.214 322.9)

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 #9F28AE 6.19:1 AA Lc -84.8 Fine for body text
Black text on #9F28AE 3.38:1 AA large text Lc 24.4 Dividers and decoration only
#9F28AE text on white 6.19:1 AA Lc 79.6 Fine for body text
#9F28AE text on black 3.38:1 AA large text Lc -22.2 Dividers and decoration only

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 700.

  1. Step 50

    50

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F4E4F6

    oklch(93.7% 0.029 322.4)

  3. Step 200

    200

    #ECCDF0

    oklch(88.5% 0.058 322.4)

  4. Step 300

    300

    #E1AAE8

    oklch(80.9% 0.104 322.7)

  5. Step 400

    400

    #D179DC

    oklch(70.7% 0.167 323)

  6. Step 500

    500

    #C351D2

    oklch(63.2% 0.211 322.9)

  7. Step 600

    600

    #AE2BBF

    oklch(55.6% 0.231 322.8)

  8. Step 700

    700 (this color)

    #9F28AE

    oklch(52.1% 0.214 322.9)

  9. Step 800

    800

    #791B85

    oklch(42.6% 0.177 322.9)

  10. Step 900

    900

    #621F6B

    oklch(37.7% 0.138 322.7)

  11. Step 950

    950

    #3A143F

    oklch(27.1% 0.088 322.9)

Export this scale for Tailwind in the Tailwind colors tool

#9F28AE 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)#0058B20.217
Deuteranopia (no green cones)#3F65AB0.188
Tritanopia (no blue cones)#A1426A0.127
Achromatopsia (no color)#6161610.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F28AE

    #9F28AE

    oklch(52.1% 0.214 322.9)

  • #008008

    #008008

    oklch(52% 0.175 142.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F28AE

    #9F28AE

    oklch(52.1% 0.214 322.9)

  • #7341D6

    #7341D6

    oklch(52.1% 0.214 292.8)

  • #BB0374

    #BB0374

    oklch(52% 0.214 352.7)

Open the analogous palette in the generator

Split complementary

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

  • #9F28AE

    #9F28AE

    oklch(52.1% 0.214 322.9)

  • #6A6F00

    #6A6F00

    oklch(52% 0.116 112.9)

  • #007B63

    #007B63

    oklch(52% 0.1 172.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F28AE

    #9F28AE

    oklch(52.1% 0.214 322.9)

  • #876200

    #876200

    oklch(52.1% 0.107 82.7)

  • #007880

    #007880

    oklch(52.2% 0.089 203)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F28AE

    #9F28AE

    oklch(52.1% 0.214 322.9)

  • #A24F00

    #A24F00

    oklch(52.1% 0.132 53)

  • #008008

    #008008

    oklch(52% 0.175 142.9)

  • #00729D

    #00729D

    oklch(52% 0.108 233.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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