#BA7CC9

Closest named color: Wisteria (#A87DC2). oklch(67.7% 0.129 319.6), rgb(186, 124, 201).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.81:1
White text3.08:1

Values

HEX#BA7CC9
RGBrgb(186, 124, 201)
HSLhsl(288, 42%, 64%)
OKLCHoklch(67.7% 0.129 319.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 #BA7CC9 3.08:1 AA large text Lc -62.9 Content text, not long reading
Black text on #BA7CC9 6.81:1 AA Lc 46.5 Large or bold text, headings
#BA7CC9 text on white 3.08:1 AA large text Lc 57.6 Large or bold text, headings
#BA7CC9 text on black 6.81:1 AA Lc -44.2 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 400.

  1. Step 50

    50

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E7D0EC

    oklch(88.5% 0.045 320.2)

  4. Step 300

    300

    #D8B0E2

    oklch(80.9% 0.081 319.5)

  5. Step 400

    400 (this color)

    #BA7CC9

    oklch(67.7% 0.129 319.6)

  6. Step 500

    500

    #B464C7

    oklch(63.2% 0.165 319.7)

  7. Step 600

    600

    #9F48B3

    oklch(55.7% 0.178 319.8)

  8. Step 700

    700

    #88389A

    oklch(49.1% 0.166 319.8)

  9. Step 800

    800

    #6E2F7D

    oklch(42.6% 0.138 319.5)

  10. Step 900

    900

    #5A2B65

    oklch(37.8% 0.108 319.7)

  11. Step 950

    950

    #351A3B

    oklch(27.1% 0.068 320.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA7CC9 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)#728FCC0.111
Deuteranopia (no green cones)#8195C70.102
Tritanopia (no blue cones)#BB85990.082
Achromatopsia (no color)#9393930.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7CC9

    #BA7CC9

    oklch(67.7% 0.129 319.6)

  • #6BAA5B

    #6BAA5B

    oklch(67.6% 0.129 139.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7CC9

    #BA7CC9

    oklch(67.7% 0.129 319.6)

  • #9689E1

    #9689E1

    oklch(67.8% 0.128 289.3)

  • #D274A3

    #D274A3

    oklch(67.8% 0.13 349.8)

Open the analogous palette in the generator

Split complementary

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

  • #BA7CC9

    #BA7CC9

    oklch(67.7% 0.129 319.6)

  • #9D9E30

    #9D9E30

    oklch(67.8% 0.129 109.9)

  • #1DB08B

    #1DB08B

    oklch(67.6% 0.128 170)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7CC9

    #BA7CC9

    oklch(67.7% 0.129 319.6)

  • #C18D25

    #C18D25

    oklch(67.7% 0.129 79.6)

  • #00ACB3

    #00ACB3

    oklch(67.7% 0.115 199.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7CC9

    #BA7CC9

    oklch(67.7% 0.129 319.6)

  • #D67D49

    #D67D49

    oklch(67.6% 0.129 49.5)

  • #6BAA5B

    #6BAA5B

    oklch(67.6% 0.129 139.5)

  • #1CA5D7

    #1CA5D7

    oklch(67.7% 0.129 229.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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