#AA28AF

Closest named color: Purply (#983FB2). oklch(53.8% 0.219 326.4), rgb(170, 40, 175).

Aa

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

About this color

#AA28AF is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.219 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.044 away. White text reads best on it, at 5.78:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.219)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.63:1
White text5.78:1

Values

HEX#AA28AF
RGBrgb(170, 40, 175)
HSLhsl(298, 63%, 42%)
OKLCHoklch(53.8% 0.219 326.4)

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 #AA28AF 5.78:1 AA Lc -82.9 Fine for body text
Black text on #AA28AF 3.63:1 AA large text Lc 26.5 Dividers and decoration only
#AA28AF text on white 5.78:1 AA Lc 77.6 Fine for body text
#AA28AF text on black 3.63:1 AA large text Lc -24.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 600.

  1. Step 50

    50

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F5E4F4

    oklch(93.7% 0.028 327.6)

  3. Step 200

    200

    #EDCDED

    oklch(88.5% 0.055 326)

  4. Step 300

    300

    #E3AAE3

    oklch(80.9% 0.1 326.5)

  5. Step 400

    400

    #D27AD4

    oklch(70.6% 0.158 326.3)

  6. Step 500

    500

    #C553C8

    oklch(63.1% 0.201 326.6)

  7. Step 600

    600 (this color)

    #AA28AF

    oklch(53.8% 0.219 326.4)

  8. Step 700

    700

    #971F9C

    oklch(49.1% 0.204 326.3)

  9. Step 800

    800

    #7B1E7E

    oklch(42.7% 0.169 326.7)

  10. Step 900

    900

    #632066

    oklch(37.7% 0.132 326)

  11. Step 950

    950

    #3A143B

    oklch(26.9% 0.083 326.6)

Export this scale for Tailwind in the Tailwind colors tool

#AA28AF 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)#005BB30.233
Deuteranopia (no green cones)#4A6BAC0.197
Tritanopia (no blue cones)#AF406B0.124
Achromatopsia (no color)#6666660.221

Harmonies

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

Complementary

The opposite hue (180°).

  • #AA28AF

    #AA28AF

    oklch(53.8% 0.219 326.4)

  • #00852B

    #00852B

    oklch(53.7% 0.162 146.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AA28AF

    #AA28AF

    oklch(53.8% 0.219 326.4)

  • #7F42DB

    #7F42DB

    oklch(53.9% 0.219 296.5)

  • #C50271

    #C50271

    oklch(53.7% 0.219 356.4)

Open the analogous palette in the generator

Split complementary

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

  • #AA28AF

    #AA28AF

    oklch(53.8% 0.219 326.4)

  • #6A7600

    #6A7600

    oklch(53.7% 0.123 116.6)

  • #00816C

    #00816C

    oklch(53.9% 0.101 175.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AA28AF

    #AA28AF

    oklch(53.8% 0.219 326.4)

  • #8A6800

    #8A6800

    oklch(53.7% 0.11 86)

  • #007D89

    #007D89

    oklch(53.9% 0.092 206.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AA28AF

    #AA28AF

    oklch(53.8% 0.219 326.4)

  • #A55600

    #A55600

    oklch(53.8% 0.131 56.6)

  • #00852B

    #00852B

    oklch(53.7% 0.162 146.4)

  • #0077A8

    #0077A8

    oklch(53.8% 0.116 236.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #AA28AF 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.