#BA87DA

Closest named color: Pale Purple (#B790D4). oklch(70.4% 0.129 311.6), rgb(186, 135, 218).

Aa

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

About this color

#BA87DA is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.129 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.026 away. Black text reads best on it, at 7.56:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.56:1
White text2.77:1

Values

HEX#BA87DA
RGBrgb(186, 135, 218)
HSLhsl(277, 53%, 69%)
OKLCHoklch(70.4% 0.129 311.6)

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 #BA87DA 2.77:1 Fails Lc -58.6 Large or bold text, headings
Black text on #BA87DA 7.56:1 AAA Lc 50.6 Large or bold text, headings
#BA87DA text on white 2.77:1 Fails Lc 53.4 Large or bold text, headings
#BA87DA text on black 7.56:1 AAA Lc -48.4 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E3D1EF

    oklch(88.4% 0.045 312)

  4. Step 300

    300

    #D2B2E7

    oklch(80.9% 0.081 311.8)

  5. Step 400

    400 (this color)

    #BA87DA

    oklch(70.4% 0.129 311.6)

  6. Step 500

    500

    #AA67D1

    oklch(63% 0.166 311.7)

  7. Step 600

    600

    #954CBE

    oklch(55.6% 0.179 311.5)

  8. Step 700

    700

    #7F3CA4

    oklch(49.1% 0.167 311.5)

  9. Step 800

    800

    #673285

    oklch(42.6% 0.139 311.3)

  10. Step 900

    900

    #542D6A

    oklch(37.6% 0.108 311.8)

  11. Step 950

    950

    #311B3E

    oklch(26.9% 0.068 311.6)

Export this scale for Tailwind in the Tailwind colors tool

#BA87DA 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)#7899DD0.099
Deuteranopia (no green cones)#849CD80.091
Tritanopia (no blue cones)#B793A60.092
Achromatopsia (no color)#9B9B9B0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA87DA

    #BA87DA

    oklch(70.4% 0.129 311.6)

  • #82B057

    #82B057

    oklch(70.4% 0.129 131.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA87DA

    #BA87DA

    oklch(70.4% 0.129 311.6)

  • #9395EE

    #9395EE

    oklch(70.5% 0.129 281.6)

  • #D57EB7

    #D57EB7

    oklch(70.4% 0.128 341.2)

Open the analogous palette in the generator

Split complementary

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

  • #BA87DA

    #BA87DA

    oklch(70.4% 0.129 311.6)

  • #B0A232

    #B0A232

    oklch(70.4% 0.129 102)

  • #43B886

    #43B886

    oklch(70.4% 0.129 161.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA87DA

    #BA87DA

    oklch(70.4% 0.129 311.6)

  • #D19136

    #D19136

    oklch(70.4% 0.129 71.9)

  • #00B7B2

    #00B7B2

    oklch(70.4% 0.121 191.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA87DA

    #BA87DA

    oklch(70.4% 0.129 311.6)

  • #E2825D

    #E2825D

    oklch(70.3% 0.129 41.5)

  • #82B057

    #82B057

    oklch(70.4% 0.129 131.5)

  • #03B1D8

    #03B1D8

    oklch(70.4% 0.129 221.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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