#AA7FF4

Closest named color: Light Purple (#BF77F6). oklch(68.8% 0.17 298.8), rgb(170, 127, 244).

Aa

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

About this color

#AA7FF4 is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.170 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.037 away. Black text reads best on it, at 7.05:1.

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

Values

HEX#AA7FF4
RGBrgb(170, 127, 244)
HSLhsl(262, 84%, 73%)
OKLCHoklch(68.8% 0.17 298.8)

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 #AA7FF4 2.97:1 Fails Lc -61.5 Content text, not long reading
Black text on #AA7FF4 7.05:1 AAA Lc 47.9 Large or bold text, headings
#AA7FF4 text on white 2.97:1 Fails Lc 56.2 Large or bold text, headings
#AA7FF4 text on black 7.05:1 AAA Lc -45.6 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

    #DED1FC

    oklch(88.5% 0.06 299)

  4. Step 300

    300

    #CAB2FC

    oklch(81% 0.105 298.9)

  5. Step 400

    400 (this color)

    #AA7FF4

    oklch(68.8% 0.17 298.8)

  6. Step 500

    500

    #9E60F8

    oklch(63.1% 0.218 298.8)

  7. Step 600

    600

    #8A3FE6

    oklch(55.6% 0.235 298.9)

  8. Step 700

    700

    #752EC8

    oklch(49% 0.219 298.7)

  9. Step 800

    800

    #5F29A2

    oklch(42.7% 0.182 298.6)

  10. Step 900

    900

    #4E2881

    oklch(37.8% 0.143 299)

  11. Step 950

    950

    #2D194B

    oklch(27% 0.089 298.7)

Export this scale for Tailwind in the Tailwind colors tool

#AA7FF4 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)#5995F80.111
Deuteranopia (no green cones)#6394F10.103
Tritanopia (no blue cones)#9B95AE0.133
Achromatopsia (no color)#9595950.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #AA7FF4

    #AA7FF4

    oklch(68.8% 0.17 298.8)

  • #91A700

    #91A700

    oklch(68.7% 0.161 118.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AA7FF4

    #AA7FF4

    oklch(68.8% 0.17 298.8)

  • #7193FF

    #7193FF

    oklch(68.8% 0.163 268.7)

  • #D26FCE

    #D26FCE

    oklch(68.7% 0.171 328.7)

Open the analogous palette in the generator

Split complementary

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

  • #AA7FF4

    #AA7FF4

    oklch(68.8% 0.17 298.8)

  • #BE9500

    #BE9500

    oklch(68.9% 0.141 88.9)

  • #38B65C

    #38B65C

    oklch(68.7% 0.169 149)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AA7FF4

    #AA7FF4

    oklch(68.8% 0.17 298.8)

  • #E37D00

    #E37D00

    oklch(68.9% 0.164 58.8)

  • #00B49C

    #00B49C

    oklch(68.9% 0.126 178.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AA7FF4

    #AA7FF4

    oklch(68.8% 0.17 298.8)

  • #F16A5B

    #F16A5B

    oklch(68.7% 0.169 28.6)

  • #91A700

    #91A700

    oklch(68.7% 0.161 118.7)

  • #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 #AA7FF4, closest first.

Similar named colors

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

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