#AB98EA

Closest named color: Pale Purple (#B790D4). oklch(72.8% 0.118 293.9), rgb(171, 152, 234).

Aa

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

About this color

#AB98EA is a medium-light, moderately saturated purple. In OKLCH its lightness is 73%, its chroma 0.118 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.037 away. Black text reads best on it, at 8.41:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.41:1
White text2.49:1

Values

HEX#AB98EA
RGBrgb(171, 152, 234)
HSLhsl(254, 66%, 76%)
OKLCHoklch(72.8% 0.118 293.9)

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 #AB98EA 2.49:1 Fails Lc -54.0 Large or bold text, headings
Black text on #AB98EA 8.41:1 AAA Lc 55.0 Large or bold text, headings
#AB98EA text on white 2.49:1 Fails Lc 49.0 Large or bold text, headings
#AB98EA text on black 8.41:1 AAA Lc -53.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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EAE7F7

    oklch(93.5% 0.022 294.6)

  3. Step 200

    200

    #DAD4F2

    oklch(88.4% 0.041 294.7)

  4. Step 300

    300

    #C3B8EC

    oklch(80.9% 0.073 294.4)

  5. Step 400

    400 (this color)

    #AB98EA

    oklch(72.8% 0.118 293.9)

  6. Step 500

    500

    #9074DB

    oklch(63.1% 0.152 294.2)

  7. Step 600

    600

    #7B5AC8

    oklch(55.5% 0.164 294.2)

  8. Step 700

    700

    #684AAD

    oklch(49.2% 0.152 294.1)

  9. Step 800

    800

    #543D8C

    oklch(42.7% 0.126 293.8)

  10. Step 900

    900

    #453570

    oklch(37.7% 0.098 293.6)

  11. Step 950

    950

    #281F42

    oklch(26.9% 0.064 293.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB98EA 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)#82A5ED0.060
Deuteranopia (no green cones)#84A3E80.057
Tritanopia (no blue cones)#9EA6B60.097
Achromatopsia (no color)#A4A4A40.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB98EA

    #AB98EA

    oklch(72.8% 0.118 293.9)

  • #A6AF52

    #A6AF52

    oklch(72.7% 0.118 113.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB98EA

    #AB98EA

    oklch(72.8% 0.118 293.9)

  • #81A6F1

    #81A6F1

    oklch(72.8% 0.117 263.7)

  • #CC8DD1

    #CC8DD1

    oklch(72.9% 0.118 324.2)

Open the analogous palette in the generator

Split complementary

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

  • #AB98EA

    #AB98EA

    oklch(72.8% 0.118 293.9)

  • #CAA046

    #CAA046

    oklch(72.7% 0.118 83.8)

  • #77BA76

    #77BA76

    oklch(72.7% 0.118 143.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB98EA

    #AB98EA

    oklch(72.8% 0.118 293.9)

  • #E0925C

    #E0925C

    oklch(72.8% 0.118 54.5)

  • #42BFA1

    #42BFA1

    oklch(72.8% 0.118 173.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB98EA

    #AB98EA

    oklch(72.8% 0.118 293.9)

  • #E88883

    #E88883

    oklch(72.8% 0.118 23.6)

  • #A6AF52

    #A6AF52

    oklch(72.7% 0.118 113.9)

  • #23BCC9

    #23BCC9

    oklch(72.8% 0.118 204.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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