#BA7BC7

Closest named color: Wisteria (#A87DC2). oklch(67.5% 0.129 320.6), rgb(186, 123, 199).

Aa

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

About this color

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

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

Values

HEX#BA7BC7
RGBrgb(186, 123, 199)
HSLhsl(290, 40%, 63%)
OKLCHoklch(67.5% 0.129 320.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 #BA7BC7 3.11:1 AA large text Lc -63.4 Content text, not long reading
Black text on #BA7BC7 6.74:1 AA Lc 46.1 Large or bold text, headings
#BA7BC7 text on white 3.11:1 AA large text Lc 58.0 Large or bold text, headings
#BA7BC7 text on black 6.74:1 AA Lc -43.8 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

    #D9B0E1

    oklch(80.9% 0.081 320.8)

  5. Step 400

    400 (this color)

    #BA7BC7

    oklch(67.5% 0.129 320.6)

  6. Step 500

    500

    #B563C5

    oklch(63.1% 0.165 320.9)

  7. Step 600

    600

    #A047B2

    oklch(55.6% 0.179 320.6)

  8. Step 700

    700

    #893899

    oklch(49.2% 0.166 320.7)

  9. Step 800

    800

    #6F2F7C

    oklch(42.7% 0.138 320.6)

  10. Step 900

    900

    #5A2B64

    oklch(37.7% 0.107 320.4)

  11. Step 950

    950

    #351A3A

    oklch(27% 0.067 321.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA7BC7 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)#718ECA0.113
Deuteranopia (no green cones)#8194C50.102
Tritanopia (no blue cones)#BB84980.081
Achromatopsia (no color)#9292920.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7BC7

    #BA7BC7

    oklch(67.5% 0.129 320.6)

  • #68AA5C

    #68AA5C

    oklch(67.5% 0.129 140.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7BC7

    #BA7BC7

    oklch(67.5% 0.129 320.6)

  • #9787E0

    #9787E0

    oklch(67.4% 0.13 290.8)

  • #D173A1

    #D173A1

    oklch(67.4% 0.129 350.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA7BC7

    #BA7BC7

    oklch(67.5% 0.129 320.6)

  • #9B9D31

    #9B9D31

    oklch(67.4% 0.128 110.4)

  • #18B08B

    #18B08B

    oklch(67.6% 0.129 170.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7BC7

    #BA7BC7

    oklch(67.5% 0.129 320.6)

  • #BF8D24

    #BF8D24

    oklch(67.5% 0.128 80.8)

  • #00ABB3

    #00ABB3

    oklch(67.4% 0.115 200.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7BC7

    #BA7BC7

    oklch(67.5% 0.129 320.6)

  • #D57D48

    #D57D48

    oklch(67.5% 0.129 50.2)

  • #68AA5C

    #68AA5C

    oklch(67.5% 0.129 140.6)

  • #1FA4D7

    #1FA4D7

    oklch(67.5% 0.129 230.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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