#BA8EC7

Closest named color: Pale Purple (#B790D4). oklch(70.8% 0.095 318.4), rgb(186, 142, 199).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.78:1
White text2.69:1

Values

HEX#BA8EC7
RGBrgb(186, 142, 199)
HSLhsl(286, 34%, 67%)
OKLCHoklch(70.8% 0.095 318.4)

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 #BA8EC7 2.69:1 Fails Lc -57.5 Large or bold text, headings
Black text on #BA8EC7 7.78:1 AAA Lc 51.7 Large or bold text, headings
#BA8EC7 text on white 2.69:1 Fails Lc 52.3 Large or bold text, headings
#BA8EC7 text on black 7.78:1 AAA Lc -49.6 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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F1

    oklch(93.5% 0.018 320.1)

  3. Step 200

    200

    #E3D3E7

    oklch(88.6% 0.032 319.5)

  4. Step 300

    300

    #D1B5DA

    oklch(80.9% 0.06 317.9)

  5. Step 400

    400 (this color)

    #BA8EC7

    oklch(70.8% 0.095 318.4)

  6. Step 500

    500

    #A871B8

    oklch(63.2% 0.12 318.4)

  7. Step 600

    600

    #9358A4

    oklch(55.7% 0.13 318.4)

  8. Step 700

    700

    #7D478D

    oklch(49.1% 0.123 318.1)

  9. Step 800

    800

    #663B72

    oklch(42.7% 0.101 318.6)

  10. Step 900

    900

    #53335C

    oklch(37.7% 0.078 318.6)

  11. Step 950

    950

    #311E36

    oklch(27% 0.05 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA8EC7 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)#879BC90.078
Deuteranopia (no green cones)#919FC50.072
Tritanopia (no blue cones)#BA94A20.062
Achromatopsia (no color)#9D9D9D0.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA8EC7

    #BA8EC7

    oklch(70.8% 0.095 318.4)

  • #83AF75

    #83AF75

    oklch(70.7% 0.095 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA8EC7

    #BA8EC7

    oklch(70.8% 0.095 318.4)

  • #9E97D9

    #9E97D9

    oklch(70.7% 0.096 288.6)

  • #CD88AB

    #CD88AB

    oklch(70.7% 0.095 348)

Open the analogous palette in the generator

Split complementary

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

  • #BA8EC7

    #BA8EC7

    oklch(70.8% 0.095 318.4)

  • #A6A65E

    #A6A65E

    oklch(70.9% 0.094 108.6)

  • #5FB496

    #5FB496

    oklch(70.8% 0.095 168.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA8EC7

    #BA8EC7

    oklch(70.8% 0.095 318.4)

  • #C19A5A

    #C19A5A

    oklch(70.9% 0.094 78.7)

  • #4CB3B6

    #4CB3B6

    oklch(70.8% 0.095 197.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA8EC7

    #BA8EC7

    oklch(70.8% 0.095 318.4)

  • #D18F6C

    #D18F6C

    oklch(70.8% 0.094 48.7)

  • #83AF75

    #83AF75

    oklch(70.7% 0.095 138.3)

  • #5BACCF

    #5BACCF

    oklch(70.7% 0.094 228.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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