#AA98FA

Closest named color: Periwinkle Blue (#8F99FB). oklch(73.5% 0.14 291), rgb(170, 152, 250).

Aa

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

About this color

#AA98FA is a medium-light, moderately saturated purple. In OKLCH its lightness is 73%, its chroma 0.140 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.037 away. Black text reads best on it, at 8.58:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromamoderately saturated (0.140)
Temperaturein between
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.58:1
White text2.44:1

Values

HEX#AA98FA
RGBrgb(170, 152, 250)
HSLhsl(251, 91%, 79%)
OKLCHoklch(73.5% 0.14 291)

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 #AA98FA 2.44:1 Fails Lc -53.1 Large or bold text, headings
Black text on #AA98FA 8.58:1 AAA Lc 56.0 Large or bold text, headings
#AA98FA text on white 2.44:1 Fails Lc 48.0 Large or bold text, headings
#AA98FA text on black 8.58:1 AAA Lc -54.0 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FA

    oklch(93.5% 0.026 290.7)

  3. Step 200

    200

    #D8D4F8

    oklch(88.4% 0.049 290.4)

  4. Step 300

    300

    #C0B7F5

    oklch(80.8% 0.087 291)

  5. Step 400

    400 (this color)

    #AA98FA

    oklch(73.5% 0.14 291)

  6. Step 500

    500

    #8C70EB

    oklch(63% 0.178 290.9)

  7. Step 600

    600

    #7855DA

    oklch(55.7% 0.194 290.9)

  8. Step 700

    700

    #6544BD

    oklch(49.1% 0.181 290.8)

  9. Step 800

    800

    #523999

    oklch(42.7% 0.15 290.7)

  10. Step 900

    900

    #443279

    oklch(37.7% 0.116 291.5)

  11. Step 950

    950

    #271E47

    oklch(26.9% 0.074 290.7)

Export this scale for Tailwind in the Tailwind colors tool

#AA98FA 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)#7AA7FE0.068
Deuteranopia (no green cones)#7CA4F80.064
Tritanopia (no blue cones)#97AABD0.117
Achromatopsia (no color)#A6A6A60.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #AA98FA

    #AA98FA

    oklch(73.5% 0.14 291)

  • #ADB138

    #ADB138

    oklch(73.5% 0.14 111.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AA98FA

    #AA98FA

    oklch(73.5% 0.14 291)

  • #77A8FF

    #77A8FF

    oklch(73.4% 0.137 261.3)

  • #D18ADE

    #D18ADE

    oklch(73.4% 0.14 321.2)

Open the analogous palette in the generator

Split complementary

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

  • #AA98FA

    #AA98FA

    oklch(73.5% 0.14 291)

  • #D69E29

    #D69E29

    oklch(73.4% 0.14 80.6)

  • #75BF69

    #75BF69

    oklch(73.6% 0.14 141)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AA98FA

    #AA98FA

    oklch(73.5% 0.14 291)

  • #EE8D51

    #EE8D51

    oklch(73.5% 0.14 50.8)

  • #1BC59D

    #1BC59D

    oklch(73.5% 0.14 170.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AA98FA

    #AA98FA

    oklch(73.5% 0.14 291)

  • #F58283

    #F58283

    oklch(73.5% 0.141 20.5)

  • #ADB138

    #ADB138

    oklch(73.5% 0.14 111.3)

  • #00C0C9

    #00C0C9

    oklch(73.5% 0.125 200.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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