#9A28A6

Closest named color: Purply (#983FB2). oklch(50.8% 0.205 323.7), rgb(154, 40, 166).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.205)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.22:1
White text6.50:1

Values

HEX#9A28A6
RGBrgb(154, 40, 166)
HSLhsl(294, 61%, 40%)
OKLCHoklch(50.8% 0.205 323.7)

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 #9A28A6 6.50:1 AA Lc -86.2 Fine for body text
Black text on #9A28A6 3.22:1 AA large text Lc 23.0 Dividers and decoration only
#9A28A6 text on white 6.50:1 AA Lc 81.0 Fine for body text
#9A28A6 text on black 3.22:1 AA large text Lc -20.8 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

    #F4E4F5

    oklch(93.7% 0.028 324)

  3. Step 200

    200

    #ECCDEE

    oklch(88.4% 0.056 324.1)

  4. Step 300

    300

    #E1ABE5

    oklch(80.9% 0.099 324.2)

  5. Step 400

    400

    #D07BD8

    oklch(70.7% 0.159 323.9)

  6. Step 500

    500

    #C254CD

    oklch(63.1% 0.202 324)

  7. Step 600

    600

    #AD31BA

    oklch(55.6% 0.22 323.8)

  8. Step 700

    700 (this color)

    #9A28A6

    oklch(50.8% 0.205 323.7)

  9. Step 800

    800

    #791F82

    oklch(42.8% 0.17 324)

  10. Step 900

    900

    #622168

    oklch(37.7% 0.132 324.3)

  11. Step 950

    950

    #39153D

    oklch(27% 0.083 323.6)

Export this scale for Tailwind in the Tailwind colors tool

#9A28A6 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)#0055A90.212
Deuteranopia (no green cones)#3F62A30.182
Tritanopia (no blue cones)#9D40660.120
Achromatopsia (no color)#5E5E5E0.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A28A6

    #9A28A6

    oklch(50.8% 0.205 323.7)

  • #007C14

    #007C14

    oklch(50.9% 0.166 143.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A28A6

    #9A28A6

    oklch(50.8% 0.205 323.7)

  • #703FCC

    #703FCC

    oklch(50.7% 0.205 293.7)

  • #B50A6E

    #B50A6E

    oklch(50.9% 0.205 353.8)

Open the analogous palette in the generator

Split complementary

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

  • #9A28A6

    #9A28A6

    oklch(50.8% 0.205 323.7)

  • #666C00

    #666C00

    oklch(50.9% 0.114 113.5)

  • #007761

    #007761

    oklch(50.8% 0.097 173.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A28A6

    #9A28A6

    oklch(50.8% 0.205 323.7)

  • #825F00

    #825F00

    oklch(50.8% 0.104 83.4)

  • #00747C

    #00747C

    oklch(50.9% 0.087 203.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A28A6

    #9A28A6

    oklch(50.8% 0.205 323.7)

  • #9C4D00

    #9C4D00

    oklch(50.9% 0.128 53.8)

  • #007C14

    #007C14

    oklch(50.9% 0.166 143.8)

  • #006E98

    #006E98

    oklch(50.7% 0.106 233.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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