#BA7BB2

Closest named color: Wisteria (#A87DC2). oklch(66.6% 0.107 331.3), rgb(186, 123, 178).

Aa

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

About this color

#BA7BB2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.107 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.037 away. Black text reads best on it, at 6.56:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromamoderately saturated (0.107)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.56:1
White text3.19:1

Values

HEX#BA7BB2
RGBrgb(186, 123, 178)
HSLhsl(308, 31%, 61%)
OKLCHoklch(66.6% 0.107 331.3)

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 #BA7BB2 3.19:1 AA large text Lc -64.5 Content text, not long reading
Black text on #BA7BB2 6.56:1 AA Lc 45.0 Large or bold text, headings
#BA7BB2 text on white 3.19:1 AA large text Lc 59.0 Large or bold text, headings
#BA7BB2 text on black 6.56:1 AA Lc -42.7 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 500.

  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

    #D5B5D0

    oklch(80.9% 0.052 331.3)

  5. Step 400

    400

    #C08EB9

    oklch(70.9% 0.084 331.3)

  6. Step 500

    500 (this color)

    #BA7BB2

    oklch(66.6% 0.107 331.3)

  7. Step 600

    600

    #9A5892

    oklch(55.7% 0.116 331.5)

  8. Step 700

    700

    #83487C

    oklch(49.1% 0.107 331.5)

  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

#BA7BB2 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)#798AB40.103
Deuteranopia (no green cones)#8993B00.094
Tritanopia (no blue cones)#BF7F8F0.057
Achromatopsia (no color)#9090900.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7BB2

    #BA7BB2

    oklch(66.6% 0.107 331.3)

  • #5FA772

    #5FA772

    oklch(66.7% 0.107 151.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7BB2

    #BA7BB2

    oklch(66.6% 0.107 331.3)

  • #9F84CB

    #9F84CB

    oklch(66.5% 0.107 301)

  • #CA7790

    #CA7790

    oklch(66.6% 0.108 1)

Open the analogous palette in the generator

Split complementary

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

  • #BA7BB2

    #BA7BB2

    oklch(66.6% 0.107 331.3)

  • #8A9E50

    #8A9E50

    oklch(66.6% 0.106 121.2)

  • #30A998

    #30A998

    oklch(66.5% 0.107 181.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7BB2

    #BA7BB2

    oklch(66.6% 0.107 331.3)

  • #AC913E

    #AC913E

    oklch(66.5% 0.107 91.2)

  • #27A5B9

    #27A5B9

    oklch(66.5% 0.107 211.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7BB2

    #BA7BB2

    oklch(66.6% 0.107 331.3)

  • #C3844B

    #C3844B

    oklch(66.6% 0.107 61.4)

  • #5FA772

    #5FA772

    oklch(66.7% 0.107 151.1)

  • #519CD0

    #519CD0

    oklch(66.6% 0.108 241.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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