#AB87B2

Closest named color: Dusty Lavender (#AC86A8). oklch(67.2% 0.074 320.8), rgb(171, 135, 178).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (67%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest nameDusty Lavender (#AC86A8)
Black text6.84:1
White text3.07:1

Values

HEX#AB87B2
RGBrgb(171, 135, 178)
HSLhsl(290, 22%, 61%)
OKLCHoklch(67.2% 0.074 320.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 #AB87B2 3.07:1 AA large text Lc -62.9 Content text, not long reading
Black text on #AB87B2 6.84:1 AA Lc 46.5 Large or bold text, headings
#AB87B2 text on white 3.07:1 AA large text Lc 57.6 Large or bold text, headings
#AB87B2 text on black 6.84:1 AA Lc -44.2 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 400.

  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

    #E1D4E4

    oklch(88.5% 0.026 319.9)

  4. Step 300

    300

    #CFB7D3

    oklch(80.8% 0.047 321.4)

  5. Step 400

    400 (this color)

    #AB87B2

    oklch(67.2% 0.074 320.8)

  6. Step 500

    500

    #A476AD

    oklch(63.1% 0.096 320.8)

  7. Step 600

    600

    #8F5E98

    oklch(55.6% 0.104 321.2)

  8. Step 700

    700

    #794D82

    oklch(49% 0.097 320.6)

  9. Step 800

    800

    #634069

    oklch(42.8% 0.079 321.5)

  10. Step 900

    900

    #513656

    oklch(37.7% 0.063 321.1)

  11. Step 950

    950

    #2F2032

    oklch(27% 0.039 320.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB87B2 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)#8391B40.062
Deuteranopia (no green cones)#8B94B10.057
Tritanopia (no blue cones)#AC8B960.047
Achromatopsia (no color)#9393930.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB87B2

    #AB87B2

    oklch(67.2% 0.074 320.8)

  • #7DA276

    #7DA276

    oklch(67.3% 0.075 140.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB87B2

    #AB87B2

    oklch(67.2% 0.074 320.8)

  • #958EC1

    #958EC1

    oklch(67.1% 0.075 290.5)

  • #BA839B

    #BA839B

    oklch(67.2% 0.075 351.4)

Open the analogous palette in the generator

Split complementary

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

  • #AB87B2

    #AB87B2

    oklch(67.2% 0.074 320.8)

  • #989A64

    #989A64

    oklch(67.1% 0.074 110)

  • #64A58F

    #64A58F

    oklch(67.2% 0.075 170.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB87B2

    #AB87B2

    oklch(67.2% 0.074 320.8)

  • #AD9160

    #AD9160

    oklch(67.1% 0.074 80.9)

  • #5AA4A8

    #5AA4A8

    oklch(67.2% 0.074 200.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB87B2

    #AB87B2

    oklch(67.2% 0.074 320.8)

  • #BB896C

    #BB896C

    oklch(67.2% 0.074 51.2)

  • #7DA276

    #7DA276

    oklch(67.3% 0.075 140.6)

  • #649EBB

    #649EBB

    oklch(67% 0.074 231.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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