#AB9DFF

Closest named color: Periwinkle Blue (#8F99FB). oklch(74.7% 0.139 289.1), rgb(171, 157, 255).

Aa

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

About this color

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

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

Values

HEX#AB9DFF
RGBrgb(171, 157, 255)
HSLhsl(249, 100%, 81%)
OKLCHoklch(74.7% 0.139 289.1)

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 #AB9DFF 2.33:1 Fails Lc -50.8 Large or bold text, headings
Black text on #AB9DFF 8.99:1 AAA Lc 58.1 Large or bold text, headings
#AB9DFF text on white 2.33:1 Fails Lc 45.9 Large or bold text, headings
#AB9DFF text on black 8.99: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

    #E9E7FA

    oklch(93.5% 0.026 290.7)

  3. Step 200

    200

    #D7D5F8

    oklch(88.6% 0.048 288)

  4. Step 300

    300

    #BEB8F6

    oklch(80.9% 0.087 288.7)

  5. Step 400

    400 (this color)

    #AB9DFF

    oklch(74.7% 0.139 289.1)

  6. Step 500

    500

    #8971EC

    oklch(63% 0.178 289.2)

  7. Step 600

    600

    #7556DB

    oklch(55.7% 0.194 289.3)

  8. Step 700

    700

    #6245BE

    oklch(49.1% 0.181 289)

  9. Step 800

    800

    #503A99

    oklch(42.7% 0.148 289.2)

  10. Step 900

    900

    #42337A

    oklch(37.7% 0.116 289.4)

  11. Step 950

    950

    #261F47

    oklch(27% 0.072 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB9DFF 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)#7FA7FD0.060
Tritanopia (no blue cones)#96AFC20.117
Achromatopsia (no color)#AAAAAA0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB9DFF

    #AB9DFF

    oklch(74.7% 0.139 289.1)

  • #B4B43C

    #B4B43C

    oklch(74.8% 0.139 109.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB9DFF

    #AB9DFF

    oklch(74.7% 0.139 289.1)

  • #7AAEFF

    #7AAEFF

    oklch(74.8% 0.13 259)

  • #D38FE5

    #D38FE5

    oklch(74.8% 0.14 319.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB9DFF

    #AB9DFF

    oklch(74.7% 0.139 289.1)

  • #DCA132

    #DCA132

    oklch(74.7% 0.139 78.7)

  • #7DC26A

    #7DC26A

    oklch(74.7% 0.139 139.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB9DFF

    #AB9DFF

    oklch(74.7% 0.139 289.1)

  • #F39058

    #F39058

    oklch(74.7% 0.14 49)

  • #2EC99E

    #2EC99E

    oklch(74.8% 0.139 169)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB9DFF

    #AB9DFF

    oklch(74.7% 0.139 289.1)

  • #F8868A

    #F8868A

    oklch(74.6% 0.139 18.8)

  • #B4B43C

    #B4B43C

    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 #AB9DFF, closest first.

Similar named colors

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

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