#BA8EC8

Closest named color: Pale Purple (#B790D4). oklch(70.8% 0.096 317.9), rgb(186, 142, 200).

Aa

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

About this color

#BA8EC8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.096 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.018 away. Black text reads best on it, at 7.79:1.

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

Values

HEX#BA8EC8
RGBrgb(186, 142, 200)
HSLhsl(286, 35%, 67%)
OKLCHoklch(70.8% 0.096 317.9)

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 #BA8EC8 2.69:1 Fails Lc -57.4 Large or bold text, headings
Black text on #BA8EC8 7.79:1 AAA Lc 51.8 Large or bold text, headings
#BA8EC8 text on white 2.69:1 Fails Lc 52.2 Large or bold text, headings
#BA8EC8 text on black 7.79: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

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E3D3E8

    oklch(88.6% 0.033 318.1)

  4. Step 300

    300

    #D1B5DA

    oklch(80.9% 0.06 317.9)

  5. Step 400

    400 (this color)

    #BA8EC8

    oklch(70.8% 0.096 317.9)

  6. Step 500

    500

    #A870B9

    oklch(63% 0.123 318.1)

  7. Step 600

    600

    #9357A5

    oklch(55.6% 0.133 318.1)

  8. Step 700

    700

    #7D478E

    oklch(49.1% 0.124 317.6)

  9. Step 800

    800

    #663B73

    oklch(42.8% 0.102 318)

  10. Step 900

    900

    #53335D

    oklch(37.8% 0.08 317.8)

  11. Step 950

    950

    #311E36

    oklch(27% 0.05 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA8EC8 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)#879BCA0.078
Deuteranopia (no green cones)#919FC60.072
Tritanopia (no blue cones)#BA95A30.063
Achromatopsia (no color)#9E9E9E0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA8EC8

    #BA8EC8

    oklch(70.8% 0.096 317.9)

  • #83AF74

    #83AF74

    oklch(70.7% 0.096 137.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA8EC8

    #BA8EC8

    oklch(70.8% 0.096 317.9)

  • #9E98DA

    #9E98DA

    oklch(71% 0.096 287.9)

  • #CE88AC

    #CE88AC

    oklch(70.8% 0.097 347.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA8EC8

    #BA8EC8

    oklch(70.8% 0.096 317.9)

  • #A7A65C

    #A7A65C

    oklch(70.9% 0.097 107.9)

  • #5FB495

    #5FB495

    oklch(70.8% 0.096 167.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA8EC8

    #BA8EC8

    oklch(70.8% 0.096 317.9)

  • #C29959

    #C29959

    oklch(70.7% 0.096 77.4)

  • #4AB3B6

    #4AB3B6

    oklch(70.7% 0.096 197.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA8EC8

    #BA8EC8

    oklch(70.8% 0.096 317.9)

  • #D28F6C

    #D28F6C

    oklch(70.9% 0.095 48.3)

  • #83AF74

    #83AF74

    oklch(70.7% 0.096 137.9)

  • #59ADD0

    #59ADD0

    oklch(70.9% 0.096 227.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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