#BA7FBA

Closest named color: Wisteria (#A87DC2). oklch(67.6% 0.108 326.7), rgb(186, 127, 186).

Aa

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

About this color

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

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

Values

HEX#BA7FBA
RGBrgb(186, 127, 186)
HSLhsl(300, 30%, 61%)
OKLCHoklch(67.6% 0.108 326.7)

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 #BA7FBA 3.07:1 AA large text Lc -62.9 Content text, not long reading
Black text on #BA7FBA 6.83:1 AA Lc 46.6 Large or bold text, headings
#BA7FBA text on white 3.07:1 AA large text Lc 57.5 Large or bold text, headings
#BA7FBA text on black 6.83:1 AA Lc -44.3 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E6F1

    oklch(93.7% 0.019 325.7)

  3. Step 200

    200

    #E7D1E6

    oklch(88.5% 0.037 327.3)

  4. Step 300

    300

    #D8B2D8

    oklch(80.9% 0.067 326.2)

  5. Step 400

    400 (this color)

    #BA7FBA

    oklch(67.6% 0.108 326.7)

  6. Step 500

    500

    #B469B5

    oklch(63.1% 0.138 326.6)

  7. Step 600

    600

    #9F4FA1

    oklch(55.6% 0.15 326.4)

  8. Step 700

    700

    #883F89

    oklch(49.1% 0.139 326.9)

  9. Step 800

    800

    #6F3570

    oklch(42.8% 0.115 326.7)

  10. Step 900

    900

    #5A2F5A

    oklch(37.8% 0.089 327.2)

  11. Step 950

    950

    #351C35

    oklch(27.1% 0.057 327)

Export this scale for Tailwind in the Tailwind colors tool

#BA7FBA 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)#7B8EBC0.098
Deuteranopia (no green cones)#8996B80.092
Tritanopia (no blue cones)#BE84940.063
Achromatopsia (no color)#9393930.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7FBA

    #BA7FBA

    oklch(67.6% 0.108 326.7)

  • #68A96F

    #68A96F

    oklch(67.6% 0.108 146.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7FBA

    #BA7FBA

    oklch(67.6% 0.108 326.7)

  • #9E89D2

    #9E89D2

    oklch(67.7% 0.108 296.6)

  • #CC7A98

    #CC7A98

    oklch(67.6% 0.108 357)

Open the analogous palette in the generator

Split complementary

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

  • #BA7FBA

    #BA7FBA

    oklch(67.6% 0.108 326.7)

  • #93A04E

    #93A04E

    oklch(67.7% 0.108 116.8)

  • #3AAD95

    #3AAD95

    oklch(67.7% 0.108 176.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7FBA

    #BA7FBA

    oklch(67.6% 0.108 326.7)

  • #B49241

    #B49241

    oklch(67.6% 0.107 86.3)

  • #27A9B8

    #27A9B8

    oklch(67.5% 0.107 206.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7FBA

    #BA7FBA

    oklch(67.6% 0.108 326.7)

  • #C98552

    #C98552

    oklch(67.6% 0.107 56.6)

  • #68A96F

    #68A96F

    oklch(67.6% 0.108 146.8)

  • #4DA1D1

    #4DA1D1

    oklch(67.7% 0.108 236.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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