#AB9EF7

Closest named color: Periwinkle Blue (#8F99FB). oklch(74.5% 0.127 289.7), rgb(171, 158, 247).

Aa

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

About this color

#AB9EF7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.127 and its hue 290°. 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 8.96:1.

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

Values

HEX#AB9EF7
RGBrgb(171, 158, 247)
HSLhsl(249, 85%, 79%)
OKLCHoklch(74.5% 0.127 289.7)

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 #AB9EF7 2.34:1 Fails Lc -51.0 Large or bold text, headings
Black text on #AB9EF7 8.96:1 AAA Lc 57.9 Large or bold text, headings
#AB9EF7 text on white 2.34:1 Fails Lc 46.1 Large or bold text, headings
#AB9EF7 text on black 8.96:1 AAA Lc -56.0 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D8D5F5

    oklch(88.5% 0.044 289.8)

  4. Step 300

    300

    #BFB9F1

    oklch(81% 0.079 289.4)

  5. Step 400

    400 (this color)

    #AB9EF7

    oklch(74.5% 0.127 289.7)

  6. Step 500

    500

    #8974E3

    oklch(63% 0.162 289.6)

  7. Step 600

    600

    #755AD1

    oklch(55.6% 0.176 289.9)

  8. Step 700

    700

    #6249B5

    oklch(49% 0.164 289.6)

  9. Step 800

    800

    #503D93

    oklch(42.8% 0.136 289.6)

  10. Step 900

    900

    #423575

    oklch(37.7% 0.106 289.7)

  11. Step 950

    950

    #261F44

    oklch(26.8% 0.067 289.8)

Export this scale for Tailwind in the Tailwind colors tool

#AB9EF7 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)#84ABFB0.056
Deuteranopia (no green cones)#84A7F50.054
Tritanopia (no blue cones)#99AEBF0.107
Achromatopsia (no color)#A9A9A90.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB9EF7

    #AB9EF7

    oklch(74.5% 0.127 289.7)

  • #B2B34B

    #B2B34B

    oklch(74.5% 0.127 109.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB9EF7

    #AB9EF7

    oklch(74.5% 0.127 289.7)

  • #7CADFC

    #7CADFC

    oklch(74.5% 0.126 259.6)

  • #CF91DE

    #CF91DE

    oklch(74.4% 0.127 319.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB9EF7

    #AB9EF7

    oklch(74.5% 0.127 289.7)

  • #D7A243

    #D7A243

    oklch(74.5% 0.127 79)

  • #80C071

    #80C071

    oklch(74.5% 0.127 139.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB9EF7

    #AB9EF7

    oklch(74.5% 0.127 289.7)

  • #EC9360

    #EC9360

    oklch(74.5% 0.127 49.7)

  • #43C6A0

    #43C6A0

    oklch(74.5% 0.127 169.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB9EF7

    #AB9EF7

    oklch(74.5% 0.127 289.7)

  • #F28A8B

    #F28A8B

    oklch(74.5% 0.127 19.9)

  • #B2B34B

    #B2B34B

    oklch(74.5% 0.127 109.6)

  • #00C4CB

    #00C4CB

    oklch(74.5% 0.127 199.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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