#AB9EFF

Closest named color: Periwinkle Blue (#8F99FB). oklch(74.9% 0.138 288.8), rgb(171, 158, 255).

Aa

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

About this color

#AB9EFF 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.043 away. Black text reads best on it, at 9.06:1.

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

Values

HEX#AB9EFF
RGBrgb(171, 158, 255)
HSLhsl(248, 100%, 81%)
OKLCHoklch(74.9% 0.138 288.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 #AB9EFF 2.31:1 Fails Lc -50.5 Large or bold text, headings
Black text on #AB9EFF 9.06:1 AAA Lc 58.4 Large or bold text, headings
#AB9EFF text on white 2.31:1 Fails Lc 45.6 Large or bold text, headings
#AB9EFF text on black 9.06:1 AAA Lc -56.5 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

    #D7D5F8

    oklch(88.6% 0.048 288)

  4. Step 300

    300

    #BEB8F5

    oklch(80.9% 0.086 288.8)

  5. Step 400

    400 (this color)

    #AB9EFF

    oklch(74.9% 0.138 288.8)

  6. Step 500

    500

    #8872EB

    oklch(63% 0.176 288.7)

  7. Step 600

    600

    #7457DA

    oklch(55.7% 0.191 288.8)

  8. Step 700

    700

    #6246BD

    oklch(49.2% 0.178 289)

  9. Step 800

    800

    #4F3A99

    oklch(42.6% 0.148 288.7)

  10. Step 900

    900

    #41337A

    oklch(37.6% 0.116 288.6)

  11. Step 950

    950

    #261F47

    oklch(27% 0.072 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB9EFF 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)#80ACFF0.062
Deuteranopia (no green cones)#80A8FD0.059
Tritanopia (no blue cones)#96B0C20.117
Achromatopsia (no color)#AAAAAA0.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB9EFF

    #AB9EFF

    oklch(74.9% 0.138 288.8)

  • #B5B43E

    #B5B43E

    oklch(74.9% 0.138 108.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB9EFF

    #AB9EFF

    oklch(74.9% 0.138 288.8)

  • #7AAEFF

    #7AAEFF

    oklch(74.8% 0.13 259)

  • #D390E5

    #D390E5

    oklch(74.9% 0.138 319)

Open the analogous palette in the generator

Split complementary

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

  • #AB9EFF

    #AB9EFF

    oklch(74.9% 0.138 288.8)

  • #DCA235

    #DCA235

    oklch(74.9% 0.138 78.9)

  • #7FC26B

    #7FC26B

    oklch(74.8% 0.137 138.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB9EFF

    #AB9EFF

    oklch(74.9% 0.138 288.8)

  • #F3915A

    #F3915A

    oklch(74.9% 0.138 48.9)

  • #33C99E

    #33C99E

    oklch(74.9% 0.138 168.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB9EFF

    #AB9EFF

    oklch(74.9% 0.138 288.8)

  • #F8878B

    #F8878B

    oklch(74.8% 0.138 18.7)

  • #B5B43E

    #B5B43E

    oklch(74.9% 0.138 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 #AB9EFF, closest first.

Similar named colors

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

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