#AB7FAB

Closest named color: Heather (#A484AC). oklch(65.4% 0.081 326.5), rgb(171, 127, 171).

Aa

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

About this color

#AB7FAB is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.081 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Heather (#A484AC), ΔE 0.016 away. Black text reads best on it, at 6.35:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromamoderately saturated (0.081)
Temperaturein between
Nearest nameHeather (#A484AC)
Black text6.35:1
White text3.30:1

Values

HEX#AB7FAB
RGBrgb(171, 127, 171)
HSLhsl(300, 21%, 58%)
OKLCHoklch(65.4% 0.081 326.5)

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 #AB7FAB 3.30:1 AA large text Lc -65.8 Content text, not long reading
Black text on #AB7FAB 6.35:1 AA Lc 43.7 Non-text elements, placeholder text
#AB7FAB text on white 3.30:1 AA large text Lc 60.4 Content text, not long reading
#AB7FAB text on black 6.35:1 AA Lc -41.4 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

    #EEE7EE

    oklch(93.5% 0.012 325.7)

  3. Step 200

    200

    #E1D4E1

    oklch(88.4% 0.023 325.8)

  4. Step 300

    300

    #CFB8CE

    oklch(80.9% 0.04 327.3)

  5. Step 400

    400

    #B693B6

    oklch(70.7% 0.064 326.2)

  6. Step 500

    500 (this color)

    #AB7FAB

    oklch(65.4% 0.081 326.5)

  7. Step 600

    600

    #8F608F

    oklch(55.6% 0.09 326.7)

  8. Step 700

    700

    #795079

    oklch(49.2% 0.081 326.7)

  9. Step 800

    800

    #634163

    oklch(42.7% 0.07 326.7)

  10. Step 900

    900

    #513751

    oklch(37.7% 0.055 326.6)

  11. Step 950

    950

    #2F212F

    oklch(27.1% 0.032 326.4)

Export this scale for Tailwind in the Tailwind colors tool

#AB7FAB 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)#7C8AAD0.073
Deuteranopia (no green cones)#868FA90.068
Tritanopia (no blue cones)#AE838E0.049
Achromatopsia (no color)#8D8D8D0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7FAB

    #AB7FAB

    oklch(65.4% 0.081 326.5)

  • #6F9E73

    #6F9E73

    oklch(65.4% 0.081 146.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7FAB

    #AB7FAB

    oklch(65.4% 0.081 326.5)

  • #9586BD

    #9586BD

    oklch(65.4% 0.082 296.6)

  • #B97B92

    #B97B92

    oklch(65.3% 0.083 355.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB7FAB

    #AB7FAB

    oklch(65.4% 0.081 326.5)

  • #8D975C

    #8D975C

    oklch(65.4% 0.082 116.6)

  • #54A18F

    #54A18F

    oklch(65.4% 0.082 176.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7FAB

    #AB7FAB

    oklch(65.4% 0.081 326.5)

  • #A68D54

    #A68D54

    oklch(65.3% 0.081 86.5)

  • #4C9FA9

    #4C9FA9

    oklch(65.5% 0.082 205.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7FAB

    #AB7FAB

    oklch(65.4% 0.081 326.5)

  • #B7845F

    #B7845F

    oklch(65.5% 0.081 56.7)

  • #6F9E73

    #6F9E73

    oklch(65.4% 0.081 146.7)

  • #5D98BC

    #5D98BC

    oklch(65.4% 0.082 236.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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