#BA78D7

Closest named color: Wisteria (#A87DC2). oklch(67.7% 0.151 314.9), rgb(186, 120, 215).

Aa

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

About this color

#BA78D7 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.151 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.046 away. Black text reads best on it, at 6.75:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.151)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.75:1
White text3.10:1

Values

HEX#BA78D7
RGBrgb(186, 120, 215)
HSLhsl(282, 54%, 66%)
OKLCHoklch(67.7% 0.151 314.9)

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 #BA78D7 3.10:1 AA large text Lc -63.2 Content text, not long reading
Black text on #BA78D7 6.75:1 AA Lc 46.2 Large or bold text, headings
#BA78D7 text on white 3.10:1 AA large text Lc 57.8 Large or bold text, headings
#BA78D7 text on black 6.75:1 AA Lc -43.9 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E6CFF2

    oklch(88.4% 0.053 314.2)

  4. Step 300

    300

    #D8AEEB

    oklch(80.8% 0.095 315.1)

  5. Step 400

    400 (this color)

    #BA78D7

    oklch(67.7% 0.151 314.9)

  6. Step 500

    500

    #B45DD8

    oklch(63.1% 0.193 314.9)

  7. Step 600

    600

    #9F3DC5

    oklch(55.5% 0.21 314.9)

  8. Step 700

    700

    #882EAA

    oklch(49.1% 0.195 314.9)

  9. Step 800

    800

    #6F288A

    oklch(42.7% 0.162 315.1)

  10. Step 900

    900

    #5A276E

    oklch(37.8% 0.125 315.2)

  11. Step 950

    950

    #351841

    oklch(27.1% 0.08 315)

Export this scale for Tailwind in the Tailwind colors tool

#BA78D7 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)#668EDA0.127
Deuteranopia (no green cones)#7894D40.115
Tritanopia (no blue cones)#B8869D0.103
Achromatopsia (no color)#9292920.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA78D7

    #BA78D7

    oklch(67.7% 0.151 314.9)

  • #6DAB44

    #6DAB44

    oklch(67.7% 0.151 134.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA78D7

    #BA78D7

    oklch(67.7% 0.151 314.9)

  • #8F88F0

    #8F88F0

    oklch(67.8% 0.151 284.7)

  • #D76DAD

    #D76DAD

    oklch(67.7% 0.152 344.8)

Open the analogous palette in the generator

Split complementary

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

  • #BA78D7

    #BA78D7

    oklch(67.7% 0.151 314.9)

  • #A59B00

    #A59B00

    oklch(67.6% 0.144 105)

  • #00B281

    #00B281

    oklch(67.7% 0.142 165)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA78D7

    #BA78D7

    oklch(67.7% 0.151 314.9)

  • #CA8800

    #CA8800

    oklch(67.7% 0.143 74.7)

  • #00ADAD

    #00ADAD

    oklch(67.7% 0.116 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA78D7

    #BA78D7

    oklch(67.7% 0.151 314.9)

  • #E27540

    #E27540

    oklch(67.8% 0.151 44.9)

  • #6DAB44

    #6DAB44

    oklch(67.7% 0.151 134.8)

  • #00A7D2

    #00A7D2

    oklch(67.7% 0.128 224.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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