#AB7FA6

Closest named color: Heather (#A484AC). oklch(65.2% 0.076 330.3), rgb(171, 127, 166).

Aa

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

About this color

#AB7FA6 is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.076 and its hue 330°. 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.31:1.

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

Values

HEX#AB7FA6
RGBrgb(171, 127, 166)
HSLhsl(307, 21%, 58%)
OKLCHoklch(65.2% 0.076 330.3)

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 #AB7FA6 3.32:1 AA large text Lc -66.0 Content text, not long reading
Black text on #AB7FA6 6.31:1 AA Lc 43.5 Non-text elements, placeholder text
#AB7FA6 text on white 3.32:1 AA large text Lc 60.6 Content text, not long reading
#AB7FA6 text on black 6.31:1 AA Lc -41.1 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

    #EEE7ED

    oklch(93.5% 0.011 330.2)

  3. Step 200

    200

    #E1D4E0

    oklch(88.4% 0.021 328.1)

  4. Step 300

    300

    #CFB8CC

    oklch(80.8% 0.038 330.1)

  5. Step 400

    400

    #B793B2

    oklch(70.6% 0.061 330.9)

  6. Step 500

    500 (this color)

    #AB7FA6

    oklch(65.2% 0.076 330.3)

  7. Step 600

    600

    #8F618A

    oklch(55.6% 0.083 330.5)

  8. Step 700

    700

    #7A5075

    oklch(49.1% 0.077 330.9)

  9. Step 800

    800

    #634260

    oklch(42.8% 0.064 329.8)

  10. Step 900

    900

    #51384E

    oklch(37.8% 0.049 330.7)

  11. Step 950

    950

    #2F212E

    oklch(27% 0.031 328.8)

Export this scale for Tailwind in the Tailwind colors tool

#AB7FA6 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)#7E89A80.070
Deuteranopia (no green cones)#888FA50.066
Tritanopia (no blue cones)#AF828D0.041
Achromatopsia (no color)#8D8D8D0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7FA6

    #AB7FA6

    oklch(65.2% 0.076 330.3)

  • #6E9D77

    #6E9D77

    oklch(65.2% 0.076 149.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7FA6

    #AB7FA6

    oklch(65.2% 0.076 330.3)

  • #9785B8

    #9785B8

    oklch(65.2% 0.077 300.5)

  • #B77C8E

    #B77C8E

    oklch(65.2% 0.077 359.6)

Open the analogous palette in the generator

Split complementary

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

  • #AB7FA6

    #AB7FA6

    oklch(65.2% 0.076 330.3)

  • #899762

    #899762

    oklch(65.2% 0.076 120.6)

  • #579F92

    #579F92

    oklch(65.2% 0.076 180.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7FA6

    #AB7FA6

    oklch(65.2% 0.076 330.3)

  • #A28E58

    #A28E58

    oklch(65.2% 0.076 89.9)

  • #529DAA

    #529DAA

    oklch(65.3% 0.077 210.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7FA6

    #AB7FA6

    oklch(65.2% 0.076 330.3)

  • #B38560

    #B38560

    oklch(65.3% 0.076 59.7)

  • #6E9D77

    #6E9D77

    oklch(65.2% 0.076 149.8)

  • #6496BA

    #6496BA

    oklch(65.2% 0.076 240.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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