#BA78D2

Closest named color: Wisteria (#A87DC2). oklch(67.5% 0.146 316.6), rgb(186, 120, 210).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.146)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.70:1
White text3.13:1

Values

HEX#BA78D2
RGBrgb(186, 120, 210)
HSLhsl(284, 50%, 65%)
OKLCHoklch(67.5% 0.146 316.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 #BA78D2 3.13:1 AA large text Lc -63.5 Content text, not long reading
Black text on #BA78D2 6.70:1 AA Lc 45.9 Large or bold text, headings
#BA78D2 text on white 3.13:1 AA large text Lc 58.2 Large or bold text, headings
#BA78D2 text on black 6.70:1 AA Lc -43.6 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

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E7CFF0

    oklch(88.4% 0.051 316.8)

  4. Step 300

    300

    #D8AFE8

    oklch(80.9% 0.09 316.4)

  5. Step 400

    400 (this color)

    #BA78D2

    oklch(67.5% 0.146 316.6)

  6. Step 500

    500

    #B55ED3

    oklch(63.1% 0.187 316.7)

  7. Step 600

    600

    #A040C0

    oklch(55.6% 0.202 316.5)

  8. Step 700

    700

    #8930A6

    oklch(49.1% 0.189 316.5)

  9. Step 800

    800

    #6F2A86

    oklch(42.7% 0.155 316.5)

  10. Step 900

    900

    #5A286B

    oklch(37.7% 0.12 316.7)

  11. Step 950

    950

    #35183F

    oklch(27% 0.077 316.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA78D2 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)#698DD50.123
Deuteranopia (no green cones)#7A94CF0.113
Tritanopia (no blue cones)#B9849B0.096
Achromatopsia (no color)#9191910.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA78D2

    #BA78D2

    oklch(67.5% 0.146 316.6)

  • #6AAB4B

    #6AAB4B

    oklch(67.6% 0.146 136.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA78D2

    #BA78D2

    oklch(67.5% 0.146 316.6)

  • #9187EB

    #9187EB

    oklch(67.5% 0.145 286.4)

  • #D56EA9

    #D56EA9

    oklch(67.4% 0.146 346.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA78D2

    #BA78D2

    oklch(67.5% 0.146 316.6)

  • #A29C00

    #A29C00

    oklch(67.6% 0.145 106.9)

  • #00B184

    #00B184

    oklch(67.5% 0.139 166.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA78D2

    #BA78D2

    oklch(67.5% 0.146 316.6)

  • #C78900

    #C78900

    oklch(67.5% 0.141 76.8)

  • #00ACAF

    #00ACAF

    oklch(67.5% 0.115 197)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA78D2

    #BA78D2

    oklch(67.5% 0.146 316.6)

  • #DE7740

    #DE7740

    oklch(67.6% 0.146 46.9)

  • #6AAB4B

    #6AAB4B

    oklch(67.6% 0.146 136.7)

  • #00A6D4

    #00A6D4

    oklch(67.6% 0.13 226.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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