#AB7BA2

Closest named color: Heather (#A484AC). oklch(64.3% 0.08 333.2), rgb(171, 123, 162).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.080)
Temperaturein between
Nearest nameHeather (#A484AC)
Black text6.08:1
White text3.45:1

Values

HEX#AB7BA2
RGBrgb(171, 123, 162)
HSLhsl(311, 22%, 58%)
OKLCHoklch(64.3% 0.08 333.2)

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 #AB7BA2 3.45:1 AA large text Lc -67.4 Content text, not long reading
Black text on #AB7BA2 6.08:1 AA Lc 42.1 Non-text elements, placeholder text
#AB7BA2 text on white 3.45:1 AA large text Lc 62.0 Content text, not long reading
#AB7BA2 text on black 6.08:1 AA Lc -39.7 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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #EFE7ED

    oklch(93.6% 0.012 334.1)

  3. Step 200

    200

    #E2D4DF

    oklch(88.4% 0.021 332.9)

  4. Step 300

    300

    #D1B8CB

    oklch(81% 0.038 334.3)

  5. Step 400

    400

    #B992B1

    oklch(70.6% 0.063 333.5)

  6. Step 500

    500 (this color)

    #AB7BA2

    oklch(64.3% 0.08 333.2)

  7. Step 600

    600

    #926089

    oklch(55.7% 0.086 333.3)

  8. Step 700

    700

    #7C4F74

    oklch(49.1% 0.08 333.3)

  9. Step 800

    800

    #65415F

    oklch(42.8% 0.067 332.8)

  10. Step 900

    900

    #52374D

    oklch(37.6% 0.051 333.3)

  11. Step 950

    950

    #30202D

    oklch(26.9% 0.033 333.2)

Export this scale for Tailwind in the Tailwind colors tool

#AB7BA2 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)#7B86A40.076
Deuteranopia (no green cones)#868DA00.072
Tritanopia (no blue cones)#B07D890.041
Achromatopsia (no color)#8A8A8A0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7BA2

    #AB7BA2

    oklch(64.3% 0.08 333.2)

  • #669C76

    #669C76

    oklch(64.4% 0.081 153)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7BA2

    #AB7BA2

    oklch(64.3% 0.08 333.2)

  • #9781B6

    #9781B6

    oklch(64.3% 0.081 303.2)

  • #B77988

    #B77988

    oklch(64.4% 0.08 3.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB7BA2

    #AB7BA2

    oklch(64.3% 0.08 333.2)

  • #84965E

    #84965E

    oklch(64.5% 0.081 123.2)

  • #4E9D92

    #4E9D92

    oklch(64.3% 0.08 183.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7BA2

    #AB7BA2

    oklch(64.3% 0.08 333.2)

  • #9E8C52

    #9E8C52

    oklch(64.3% 0.08 92.7)

  • #4C9AAA

    #4C9AAA

    oklch(64.3% 0.08 212.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7BA2

    #AB7BA2

    oklch(64.3% 0.08 333.2)

  • #B08359

    #B08359

    oklch(64.4% 0.08 63.7)

  • #669C76

    #669C76

    oklch(64.4% 0.081 153)

  • #6193BA

    #6193BA

    oklch(64.3% 0.08 242.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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