#AB7FB2

Closest named color: Heather (#A484AC). oklch(65.7% 0.089 321.8), rgb(171, 127, 178).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameHeather (#A484AC)
Black text6.41:1
White text3.27:1

Values

HEX#AB7FB2
RGBrgb(171, 127, 178)
HSLhsl(292, 25%, 60%)
OKLCHoklch(65.7% 0.089 321.8)

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 #AB7FB2 3.27:1 AA large text Lc -65.5 Content text, not long reading
Black text on #AB7FB2 6.41:1 AA Lc 44.0 Non-text elements, placeholder text
#AB7FB2 text on white 3.27:1 AA large text Lc 60.0 Content text, not long reading
#AB7FB2 text on black 6.41:1 AA Lc -41.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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EEE7EF

    oklch(93.6% 0.013 321.9)

  3. Step 200

    200

    #E1D4E3

    oklch(88.5% 0.025 321.7)

  4. Step 300

    300

    #CEB8D2

    oklch(80.9% 0.043 321)

  5. Step 400

    400

    #B593BB

    oklch(70.8% 0.069 321.3)

  6. Step 500

    500 (this color)

    #AB7FB2

    oklch(65.7% 0.089 321.8)

  7. Step 600

    600

    #8E5F95

    oklch(55.6% 0.098 322.2)

  8. Step 700

    700

    #784F7F

    oklch(49.1% 0.089 321.6)

  9. Step 800

    800

    #624167

    oklch(42.8% 0.073 322.1)

  10. Step 900

    900

    #503754

    oklch(37.7% 0.058 321.8)

  11. Step 950

    950

    #2F2031

    oklch(26.9% 0.037 322.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB7FB2 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)#7A8BB40.076
Deuteranopia (no green cones)#8490B00.071
Tritanopia (no blue cones)#AD84910.056
Achromatopsia (no color)#8E8E8E0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7FB2

    #AB7FB2

    oklch(65.7% 0.089 321.8)

  • #729F6C

    #729F6C

    oklch(65.6% 0.089 141.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7FB2

    #AB7FB2

    oklch(65.7% 0.089 321.8)

  • #9287C4

    #9287C4

    oklch(65.6% 0.09 292)

  • #BC7A97

    #BC7A97

    oklch(65.7% 0.09 351.9)

Open the analogous palette in the generator

Split complementary

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

  • #AB7FB2

    #AB7FB2

    oklch(65.7% 0.089 321.8)

  • #939755

    #939755

    oklch(65.8% 0.089 111.6)

  • #51A38B

    #51A38B

    oklch(65.7% 0.089 172)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7FB2

    #AB7FB2

    oklch(65.7% 0.089 321.8)

  • #AD8C4F

    #AD8C4F

    oklch(65.8% 0.089 81.6)

  • #42A1A8

    #42A1A8

    oklch(65.6% 0.089 202)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7FB2

    #AB7FB2

    oklch(65.7% 0.089 321.8)

  • #BD825E

    #BD825E

    oklch(65.8% 0.089 52)

  • #729F6C

    #729F6C

    oklch(65.6% 0.089 141.6)

  • #539BBE

    #539BBE

    oklch(65.7% 0.089 231.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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