#BA87B2

Closest named color: Dusty Lavender (#AC86A8). oklch(68.7% 0.085 332), rgb(186, 135, 178).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (69%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest nameDusty Lavender (#AC86A8)
Black text7.19:1
White text2.91:1

Values

HEX#BA87B2
RGBrgb(186, 135, 178)
HSLhsl(309, 27%, 63%)
OKLCHoklch(68.7% 0.085 332)

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 #BA87B2 2.91:1 Fails Lc -60.8 Content text, not long reading
Black text on #BA87B2 7.19:1 AAA Lc 48.6 Large or bold text, headings
#BA87B2 text on white 2.91:1 Fails Lc 55.5 Large or bold text, headings
#BA87B2 text on black 7.19:1 AAA Lc -46.3 Large or bold text, headings

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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E6EE

    oklch(93.5% 0.015 332.2)

  3. Step 200

    200

    #E5D2E2

    oklch(88.4% 0.03 331)

  4. Step 300

    300

    #D6B5D0

    oklch(81% 0.052 332.2)

  5. Step 400

    400 (this color)

    #BA87B2

    oklch(68.7% 0.085 332)

  6. Step 500

    500

    #B070A7

    oklch(63.2% 0.109 331.9)

  7. Step 600

    600

    #9B5792

    oklch(55.6% 0.119 332)

  8. Step 700

    700

    #84477C

    oklch(49.1% 0.11 332.1)

  9. Step 800

    800

    #6B3B65

    oklch(42.7% 0.09 331.7)

  10. Step 900

    900

    #573352

    oklch(37.7% 0.07 332)

  11. Step 950

    950

    #331E30

    oklch(27% 0.044 331.9)

Export this scale for Tailwind in the Tailwind colors tool

#BA87B2 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)#8693B40.081
Deuteranopia (no green cones)#929AB00.076
Tritanopia (no blue cones)#BF8A960.045
Achromatopsia (no color)#9797970.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA87B2

    #BA87B2

    oklch(68.7% 0.085 332)

  • #72AA80

    #72AA80

    oklch(68.7% 0.085 151.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA87B2

    #BA87B2

    oklch(68.7% 0.085 332)

  • #A48EC7

    #A48EC7

    oklch(68.7% 0.086 301.9)

  • #C78496

    #C78496

    oklch(68.7% 0.085 2.1)

Open the analogous palette in the generator

Split complementary

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

  • #BA87B2

    #BA87B2

    oklch(68.7% 0.085 332)

  • #91A367

    #91A367

    oklch(68.7% 0.085 122.2)

  • #57AC9E

    #57AC9E

    oklch(68.7% 0.086 181.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA87B2

    #BA87B2

    oklch(68.7% 0.085 332)

  • #AD995B

    #AD995B

    oklch(68.7% 0.085 92.1)

  • #54A9B9

    #54A9B9

    oklch(68.8% 0.085 211.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA87B2

    #BA87B2

    oklch(68.7% 0.085 332)

  • #C18F63

    #C18F63

    oklch(68.8% 0.085 62)

  • #72AA80

    #72AA80

    oklch(68.7% 0.085 151.5)

  • #6AA1CB

    #6AA1CB

    oklch(68.7% 0.085 242.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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