#AB7FA1

Closest named color: Dusty Lavender (#AC86A8). oklch(65% 0.072 334.7), rgb(171, 127, 161).

Aa

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

About this color

#AB7FA1 is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.072 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusty Lavender (#AC86A8), ΔE 0.019 away. Black text reads best on it, at 6.28:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest nameDusty Lavender (#AC86A8)
Black text6.28:1
White text3.34:1

Values

HEX#AB7FA1
RGBrgb(171, 127, 161)
HSLhsl(314, 21%, 58%)
OKLCHoklch(65% 0.072 334.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 #AB7FA1 3.34:1 AA large text Lc -66.3 Content text, not long reading
Black text on #AB7FA1 6.28:1 AA Lc 43.3 Non-text elements, placeholder text
#AB7FA1 text on white 3.34:1 AA large text Lc 60.8 Content text, not long reading
#AB7FA1 text on black 6.28:1 AA Lc -40.9 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F7F4F7

    oklch(97% 0.005 325.6)

  2. Step 100

    100

    #EEE7EC

    oklch(93.5% 0.01 335.5)

  3. Step 200

    200

    #E2D5DE

    oklch(88.6% 0.019 336.6)

  4. Step 300

    300

    #D0B9CA

    oklch(81% 0.035 335)

  5. Step 400

    400

    #B794AF

    oklch(70.7% 0.056 334.3)

  6. Step 500

    500 (this color)

    #AB7FA1

    oklch(65% 0.072 334.7)

  7. Step 600

    600

    #906286

    oklch(55.7% 0.078 334.7)

  8. Step 700

    700

    #7A5171

    oklch(49.1% 0.072 334.8)

  9. Step 800

    800

    #63425C

    oklch(42.6% 0.06 334.5)

  10. Step 900

    900

    #51384C

    oklch(37.7% 0.047 333.8)

  11. Step 950

    950

    #30212C

    oklch(27% 0.03 336.3)

Export this scale for Tailwind in the Tailwind colors tool

#AB7FA1 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)#7F89A20.069
Deuteranopia (no green cones)#898FA00.065
Tritanopia (no blue cones)#AF818B0.036
Achromatopsia (no color)#8C8C8C0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7FA1

    #AB7FA1

    oklch(65% 0.072 334.7)

  • #6C9D7C

    #6C9D7C

    oklch(65.2% 0.072 154.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7FA1

    #AB7FA1

    oklch(65% 0.072 334.7)

  • #9985B3

    #9985B3

    oklch(65.1% 0.071 304.3)

  • #B57D8A

    #B57D8A

    oklch(65% 0.072 4)

Open the analogous palette in the generator

Split complementary

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

  • #AB7FA1

    #AB7FA1

    oklch(65% 0.072 334.7)

  • #859767

    #859767

    oklch(65% 0.071 125)

  • #599E95

    #599E95

    oklch(65.1% 0.072 184.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7FA1

    #AB7FA1

    oklch(65% 0.072 334.7)

  • #9D8F5C

    #9D8F5C

    oklch(65% 0.071 94.6)

  • #589BAA

    #589BAA

    oklch(65.1% 0.072 213.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7FA1

    #AB7FA1

    oklch(65% 0.072 334.7)

  • #AE8661

    #AE8661

    oklch(65% 0.071 63.8)

  • #6C9D7C

    #6C9D7C

    oklch(65.2% 0.072 154.5)

  • #6A94B8

    #6A94B8

    oklch(65% 0.071 245.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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