#AB9FFF

Closest named color: Periwinkle Blue (#8F99FB). oklch(75.1% 0.136 288.4), rgb(171, 159, 255).

Aa

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

About this color

#AB9FFF is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.136 and its hue 288°. 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.13:1.

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

Values

HEX#AB9FFF
RGBrgb(171, 159, 255)
HSLhsl(248, 100%, 81%)
OKLCHoklch(75.1% 0.136 288.4)

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 #AB9FFF 2.29:1 Fails Lc -50.1 Large or bold text, headings
Black text on #AB9FFF 9.13:1 AAA Lc 58.7 Large or bold text, headings
#AB9FFF text on white 2.29:1 Fails Lc 45.2 Large or bold text, headings
#AB9FFF text on black 9.13:1 AAA Lc -56.8 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)

    #AB9FFF

    oklch(75.1% 0.136 288.4)

  6. Step 500

    500

    #8873EB

    oklch(63.2% 0.174 288.4)

  7. Step 600

    600

    #7358D9

    oklch(55.7% 0.189 288.3)

  8. Step 700

    700

    #6147BC

    oklch(49.2% 0.175 288.4)

  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

#AB9FFF 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)#82ADFF0.060
Deuteranopia (no green cones)#81A9FD0.057
Tritanopia (no blue cones)#96B1C30.116
Achromatopsia (no color)#ABABAB0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB9FFF

    #AB9FFF

    oklch(75.1% 0.136 288.4)

  • #B6B440

    #B6B440

    oklch(75% 0.136 108.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB9FFF

    #AB9FFF

    oklch(75.1% 0.136 288.4)

  • #7AAFFF

    #7AAFFF

    oklch(75% 0.129 258.4)

  • #D291E5

    #D291E5

    oklch(75% 0.136 318.4)

Open the analogous palette in the generator

Split complementary

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

  • #AB9FFF

    #AB9FFF

    oklch(75.1% 0.136 288.4)

  • #DDA238

    #DDA238

    oklch(75% 0.136 78)

  • #81C36C

    #81C36C

    oklch(75.2% 0.137 138.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB9FFF

    #AB9FFF

    oklch(75.1% 0.136 288.4)

  • #F3925D

    #F3925D

    oklch(75.1% 0.136 48.4)

  • #38C99E

    #38C99E

    oklch(75% 0.136 168.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB9FFF

    #AB9FFF

    oklch(75.1% 0.136 288.4)

  • #F8888D

    #F8888D

    oklch(75% 0.136 18.1)

  • #B6B440

    #B6B440

    oklch(75% 0.136 108.3)

  • #00C6CC

    #00C6CC

    oklch(75.1% 0.128 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 #AB9FFF, closest first.

Similar named colors

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

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