#BA78B1

Closest named color: Wisteria (#A87DC2). oklch(66.1% 0.112 331.7), rgb(186, 120, 177).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.40:1
White text3.27:1

Values

HEX#BA78B1
RGBrgb(186, 120, 177)
HSLhsl(308, 32%, 60%)
OKLCHoklch(66.1% 0.112 331.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 #BA78B1 3.27:1 AA large text Lc -65.4 Content text, not long reading
Black text on #BA78B1 6.40:1 AA Lc 44.1 Non-text elements, placeholder text
#BA78B1 text on white 3.27:1 AA large text Lc 59.9 Large or bold text, headings
#BA78B1 text on black 6.40:1 AA Lc -41.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 500.

  1. Step 50

    50

    #F9F4F8

    oklch(97.2% 0.007 332.1)

  2. Step 100

    100

    #F1E6EF

    oklch(93.6% 0.017 331.6)

  3. Step 200

    200

    #E6D2E2

    oklch(88.5% 0.031 332.5)

  4. Step 300

    300

    #D6B4D1

    oklch(80.8% 0.055 331)

  5. Step 400

    400

    #C18DB9

    oklch(70.8% 0.086 331.9)

  6. Step 500

    500 (this color)

    #BA78B1

    oklch(66.1% 0.112 331.7)

  7. Step 600

    600

    #9B5693

    oklch(55.5% 0.122 331.4)

  8. Step 700

    700

    #85467D

    oklch(49.1% 0.113 332)

  9. Step 800

    800

    #6C3A66

    oklch(42.7% 0.094 331.6)

  10. Step 900

    900

    #583253

    oklch(37.7% 0.074 331.8)

  11. Step 950

    950

    #331E31

    oklch(27% 0.045 330.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA78B1 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)#7688B30.108
Deuteranopia (no green cones)#8791AF0.098
Tritanopia (no blue cones)#BF7C8D0.059
Achromatopsia (no color)#8E8E8E0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA78B1

    #BA78B1

    oklch(66.1% 0.112 331.7)

  • #59A670

    #59A670

    oklch(66.1% 0.111 152)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA78B1

    #BA78B1

    oklch(66.1% 0.112 331.7)

  • #9F81CB

    #9F81CB

    oklch(66% 0.112 302.1)

  • #CA748D

    #CA748D

    oklch(66% 0.111 1.9)

Open the analogous palette in the generator

Split complementary

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

  • #BA78B1

    #BA78B1

    oklch(66.1% 0.112 331.7)

  • #879D4B

    #879D4B

    oklch(66.1% 0.111 121.9)

  • #22A897

    #22A897

    oklch(66% 0.111 181.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA78B1

    #BA78B1

    oklch(66.1% 0.112 331.7)

  • #AB9037

    #AB9037

    oklch(66.1% 0.112 92)

  • #16A4BA

    #16A4BA

    oklch(66.1% 0.112 211.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA78B1

    #BA78B1

    oklch(66.1% 0.112 331.7)

  • #C38245

    #C38245

    oklch(66.1% 0.111 62)

  • #59A670

    #59A670

    oklch(66.1% 0.111 152)

  • #4D9AD0

    #4D9AD0

    oklch(66% 0.111 241.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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