#AA7FF2

Closest named color: Light Purple (#BF77F6). oklch(68.7% 0.167 299.2), rgb(170, 127, 242).

Aa

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

About this color

#AA7FF2 is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.167 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.038 away. Black text reads best on it, at 7.02:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.167)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.02:1
White text2.98:1

Values

HEX#AA7FF2
RGBrgb(170, 127, 242)
HSLhsl(262, 82%, 72%)
OKLCHoklch(68.7% 0.167 299.2)

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 #AA7FF2 2.98:1 Fails Lc -61.7 Content text, not long reading
Black text on #AA7FF2 7.02:1 AAA Lc 47.7 Large or bold text, headings
#AA7FF2 text on white 2.98:1 Fails Lc 56.3 Large or bold text, headings
#AA7FF2 text on black 7.02:1 AAA Lc -45.5 Large or bold text, headings

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

  1. Step 50

    50

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #ECE6FC

    oklch(93.6% 0.03 298.3)

  3. Step 200

    200

    #DED1FB

    oklch(88.4% 0.059 299.3)

  4. Step 300

    300

    #CAB2FB

    oklch(81% 0.104 299.2)

  5. Step 400

    400 (this color)

    #AA7FF2

    oklch(68.7% 0.167 299.2)

  6. Step 500

    500

    #9E61F6

    oklch(63.1% 0.214 299)

  7. Step 600

    600

    #8A40E4

    oklch(55.5% 0.232 299.2)

  8. Step 700

    700

    #7630C6

    oklch(49.1% 0.216 299.4)

  9. Step 800

    800

    #602AA0

    oklch(42.7% 0.179 299.6)

  10. Step 900

    900

    #4E297F

    oklch(37.8% 0.139 299.4)

  11. Step 950

    950

    #2D194B

    oklch(27% 0.089 298.7)

Export this scale for Tailwind in the Tailwind colors tool

#AA7FF2 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)#5A95F60.110
Deuteranopia (no green cones)#6494EF0.102
Tritanopia (no blue cones)#9B94AD0.130
Achromatopsia (no color)#9595950.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #AA7FF2

    #AA7FF2

    oklch(68.7% 0.167 299.2)

  • #90A700

    #90A700

    oklch(68.6% 0.161 119.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AA7FF2

    #AA7FF2

    oklch(68.7% 0.167 299.2)

  • #7292FF

    #7292FF

    oklch(68.6% 0.164 269.4)

  • #D170CC

    #D170CC

    oklch(68.7% 0.167 329.1)

Open the analogous palette in the generator

Split complementary

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

  • #AA7FF2

    #AA7FF2

    oklch(68.7% 0.167 299.2)

  • #BD9500

    #BD9500

    oklch(68.8% 0.141 89.4)

  • #38B65D

    #38B65D

    oklch(68.7% 0.168 149.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AA7FF2

    #AA7FF2

    oklch(68.7% 0.167 299.2)

  • #E17D00

    #E17D00

    oklch(68.6% 0.162 59.4)

  • #00B39C

    #00B39C

    oklch(68.7% 0.125 179.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AA7FF2

    #AA7FF2

    oklch(68.7% 0.167 299.2)

  • #F06B5A

    #F06B5A

    oklch(68.7% 0.168 29.4)

  • #90A700

    #90A700

    oklch(68.6% 0.161 119.1)

  • #00AEC2

    #00AEC2

    oklch(68.7% 0.119 209.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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