#AB9EFE

Closest named color: Periwinkle Blue (#8F99FB). oklch(74.9% 0.136 288.9), rgb(171, 158, 254).

Aa

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

About this color

#AB9EFE is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.136 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 9.05:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text9.05:1
White text2.31:1

Values

HEX#AB9EFE
RGBrgb(171, 158, 254)
HSLhsl(248, 98%, 81%)
OKLCHoklch(74.9% 0.136 288.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 #AB9EFE 2.31:1 Fails Lc -50.5 Large or bold text, headings
Black text on #AB9EFE 9.05:1 AAA Lc 58.3 Large or bold text, headings
#AB9EFE text on white 2.31:1 Fails Lc 45.7 Large or bold text, headings
#AB9EFE text on black 9.05:1 AAA Lc -56.4 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

    #D7D5F7

    oklch(88.5% 0.047 288.1)

  4. Step 300

    300

    #BEB8F5

    oklch(80.9% 0.086 288.8)

  5. Step 400

    400 (this color)

    #AB9EFE

    oklch(74.9% 0.136 288.9)

  6. Step 500

    500

    #8972EA

    oklch(63% 0.174 289.2)

  7. Step 600

    600

    #7457D9

    oklch(55.6% 0.19 289)

  8. Step 700

    700

    #6246BC

    oklch(49.1% 0.177 289.1)

  9. Step 800

    800

    #4F3B98

    oklch(42.7% 0.145 288.6)

  10. Step 900

    900

    #413479

    oklch(37.7% 0.113 288.4)

  11. Step 950

    950

    #261F47

    oklch(27% 0.072 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB9EFE 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)#81ACFF0.060
Deuteranopia (no green cones)#81A8FC0.058
Tritanopia (no blue cones)#97B0C20.115
Achromatopsia (no color)#AAAAAA0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB9EFE

    #AB9EFE

    oklch(74.9% 0.136 288.9)

  • #B5B440

    #B5B440

    oklch(74.9% 0.136 108.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB9EFE

    #AB9EFE

    oklch(74.9% 0.136 288.9)

  • #7AAEFF

    #7AAEFF

    oklch(74.8% 0.13 259)

  • #D290E4

    #D290E4

    oklch(74.8% 0.137 318.9)

Open the analogous palette in the generator

Split complementary

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

  • #AB9EFE

    #AB9EFE

    oklch(74.9% 0.136 288.9)

  • #DBA237

    #DBA237

    oklch(74.8% 0.136 79.1)

  • #7FC26C

    #7FC26C

    oklch(74.9% 0.136 139)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB9EFE

    #AB9EFE

    oklch(74.9% 0.136 288.9)

  • #F2915B

    #F2915B

    oklch(74.8% 0.137 48.7)

  • #36C99E

    #36C99E

    oklch(74.9% 0.137 168.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB9EFE

    #AB9EFE

    oklch(74.9% 0.136 288.9)

  • #F8888B

    #F8888B

    oklch(75% 0.136 19.2)

  • #B5B440

    #B5B440

    oklch(74.9% 0.136 108.8)

  • #00C5CC

    #00C5CC

    oklch(74.8% 0.127 199.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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