#AB9DFE

Closest named color: Periwinkle Blue (#8F99FB). oklch(74.7% 0.138 289.2), rgb(171, 157, 254).

Aa

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

About this color

#AB9DFE is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.138 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.042 away. Black text reads best on it, at 8.98:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.138)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.98:1
White text2.33:1

Values

HEX#AB9DFE
RGBrgb(171, 157, 254)
HSLhsl(249, 98%, 81%)
OKLCHoklch(74.7% 0.138 289.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 #AB9DFE 2.33:1 Fails Lc -50.9 Large or bold text, headings
Black text on #AB9DFE 8.98:1 AAA Lc 58.0 Large or bold text, headings
#AB9DFE text on white 2.33:1 Fails Lc 46.0 Large or bold text, headings
#AB9DFE text on black 8.98:1 AAA Lc -56.1 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

    #E9E8FA

    oklch(93.7% 0.024 288.5)

  3. Step 200

    200

    #D8D5F8

    oklch(88.6% 0.048 289.3)

  4. Step 300

    300

    #BEB8F5

    oklch(80.9% 0.086 288.8)

  5. Step 400

    400 (this color)

    #AB9DFE

    oklch(74.7% 0.138 289.2)

  6. Step 500

    500

    #8972EB

    oklch(63.1% 0.175 289.1)

  7. Step 600

    600

    #7557D9

    oklch(55.7% 0.19 289.4)

  8. Step 700

    700

    #6246BD

    oklch(49.2% 0.178 289)

  9. Step 800

    800

    #503A99

    oklch(42.7% 0.148 289.2)

  10. Step 900

    900

    #423379

    oklch(37.7% 0.115 289.6)

  11. Step 950

    950

    #261F47

    oklch(27% 0.072 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB9DFE 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)#7FACFF0.064
Deuteranopia (no green cones)#7FA7FC0.060
Tritanopia (no blue cones)#97AFC10.117
Achromatopsia (no color)#A9A9A90.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB9DFE

    #AB9DFE

    oklch(74.7% 0.138 289.2)

  • #B4B43D

    #B4B43D

    oklch(74.8% 0.139 109.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB9DFE

    #AB9DFE

    oklch(74.7% 0.138 289.2)

  • #7AADFF

    #7AADFF

    oklch(74.6% 0.131 259.6)

  • #D28FE4

    #D28FE4

    oklch(74.6% 0.138 319)

Open the analogous palette in the generator

Split complementary

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

  • #AB9DFE

    #AB9DFE

    oklch(74.7% 0.138 289.2)

  • #DBA134

    #DBA134

    oklch(74.6% 0.138 78.9)

  • #7DC26B

    #7DC26B

    oklch(74.7% 0.138 139.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB9DFE

    #AB9DFE

    oklch(74.7% 0.138 289.2)

  • #F29059

    #F29059

    oklch(74.6% 0.138 48.8)

  • #30C89E

    #30C89E

    oklch(74.6% 0.138 169.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB9DFE

    #AB9DFE

    oklch(74.7% 0.138 289.2)

  • #F8878A

    #F8878A

    oklch(74.8% 0.138 19.2)

  • #B4B43D

    #B4B43D

    oklch(74.8% 0.139 109.3)

  • #00C5CB

    #00C5CB

    oklch(74.8% 0.127 198.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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