#9A28A1

Closest named color: Warm Purple (#952E8F). oklch(50.5% 0.201 325.5), rgb(154, 40, 161).

Aa

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

About this color

#9A28A1 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.201 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.032 away. White text reads best on it, at 6.57:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.201)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.19:1
White text6.57:1

Values

HEX#9A28A1
RGBrgb(154, 40, 161)
HSLhsl(297, 60%, 39%)
OKLCHoklch(50.5% 0.201 325.5)

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 #9A28A1 6.57:1 AA Lc -86.5 Fine for body text
Black text on #9A28A1 3.19:1 AA large text Lc 22.7 Dividers and decoration only
#9A28A1 text on white 6.57:1 AA Lc 81.4 Fine for body text
#9A28A1 text on black 3.19:1 AA large text Lc -20.5 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F4

    oklch(93.6% 0.027 325.8)

  3. Step 200

    200

    #ECCDED

    oklch(88.4% 0.055 325.1)

  4. Step 300

    300

    #E1ABE3

    oklch(80.9% 0.097 325.3)

  5. Step 400

    400

    #D17BD5

    oklch(70.7% 0.157 325.5)

  6. Step 500

    500

    #C354C9

    oklch(63% 0.199 325.6)

  7. Step 600

    600

    #AE32B6

    oklch(55.6% 0.216 325.3)

  8. Step 700

    700 (this color)

    #9A28A1

    oklch(50.5% 0.201 325.5)

  9. Step 800

    800

    #79207F

    oklch(42.7% 0.166 325.2)

  10. Step 900

    900

    #622166

    oklch(37.6% 0.13 325.4)

  11. Step 950

    950

    #3A153C

    oklch(27.1% 0.083 325.5)

Export this scale for Tailwind in the Tailwind colors tool

#9A28A1 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)#0054A40.213
Deuteranopia (no green cones)#43629E0.179
Tritanopia (no blue cones)#9E3D630.115
Achromatopsia (no color)#5D5D5D0.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A28A1

    #9A28A1

    oklch(50.5% 0.201 325.5)

  • #007A21

    #007A21

    oklch(50.4% 0.156 145.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A28A1

    #9A28A1

    oklch(50.5% 0.201 325.5)

  • #723EC8

    #723EC8

    oklch(50.5% 0.202 295.5)

  • #B30D69

    #B30D69

    oklch(50.4% 0.201 355.5)

Open the analogous palette in the generator

Split complementary

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

  • #9A28A1

    #9A28A1

    oklch(50.5% 0.201 325.5)

  • #636C00

    #636C00

    oklch(50.6% 0.115 115.4)

  • #007662

    #007662

    oklch(50.5% 0.095 175.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A28A1

    #9A28A1

    oklch(50.5% 0.201 325.5)

  • #7F5F00

    #7F5F00

    oklch(50.5% 0.103 85.5)

  • #00727C

    #00727C

    oklch(50.4% 0.086 205.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A28A1

    #9A28A1

    oklch(50.5% 0.201 325.5)

  • #994E00

    #994E00

    oklch(50.6% 0.124 55.7)

  • #007A21

    #007A21

    oklch(50.4% 0.156 145.4)

  • #006D99

    #006D99

    oklch(50.5% 0.108 235.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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