#BA78BC

Closest named color: Wisteria (#A87DC2). oklch(66.5% 0.122 325.8), rgb(186, 120, 188).

Aa

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

About this color

#BA78BC is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.122 and its hue 326°. 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.50:1.

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

Values

HEX#BA78BC
RGBrgb(186, 120, 188)
HSLhsl(298, 34%, 60%)
OKLCHoklch(66.5% 0.122 325.8)

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 #BA78BC 3.23:1 AA large text Lc -64.8 Content text, not long reading
Black text on #BA78BC 6.50:1 AA Lc 44.7 Non-text elements, placeholder text
#BA78BC text on white 3.23:1 AA large text Lc 59.4 Large or bold text, headings
#BA78BC text on black 6.50:1 AA Lc -42.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 500.

  1. Step 50

    50

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E6F0

    oklch(93.6% 0.017 325.7)

  3. Step 200

    200

    #E5D2E5

    oklch(88.5% 0.033 325.9)

  4. Step 300

    300

    #D5B4D6

    oklch(80.9% 0.059 325.2)

  5. Step 400

    400

    #C08CC1

    oklch(70.8% 0.095 325.9)

  6. Step 500

    500 (this color)

    #BA78BC

    oklch(66.5% 0.122 325.8)

  7. Step 600

    600

    #9A549D

    oklch(55.5% 0.134 325.7)

  8. Step 700

    700

    #834486

    oklch(49% 0.124 325.6)

  9. Step 800

    800

    #6B396D

    oklch(42.8% 0.102 325.8)

  10. Step 900

    900

    #573158

    oklch(37.6% 0.08 326.1)

  11. Step 950

    950

    #331D34

    oklch(27% 0.051 325.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA78BC 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)#728ABF0.113
Deuteranopia (no green cones)#8392BA0.103
Tritanopia (no blue cones)#BE7F910.073
Achromatopsia (no color)#8F8F8F0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA78BC

    #BA78BC

    oklch(66.5% 0.122 325.8)

  • #5EA864

    #5EA864

    oklch(66.6% 0.124 145.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA78BC

    #BA78BC

    oklch(66.5% 0.122 325.8)

  • #9A83D6

    #9A83D6

    oklch(66.4% 0.122 295.6)

  • #CE7296

    #CE7296

    oklch(66.5% 0.122 356.1)

Open the analogous palette in the generator

Split complementary

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

  • #BA78BC

    #BA78BC

    oklch(66.5% 0.122 325.8)

  • #909D3B

    #909D3B

    oklch(66.6% 0.123 116.2)

  • #0FAC91

    #0FAC91

    oklch(66.6% 0.122 175.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA78BC

    #BA78BC

    oklch(66.5% 0.122 325.8)

  • #B58D29

    #B58D29

    oklch(66.4% 0.122 85.6)

  • #00A7B6

    #00A7B6

    oklch(66.5% 0.114 206.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA78BC

    #BA78BC

    oklch(66.5% 0.122 325.8)

  • #CC7E43

    #CC7E43

    oklch(66.5% 0.122 55.7)

  • #5EA864

    #5EA864

    oklch(66.6% 0.124 145.8)

  • #379ED4

    #379ED4

    oklch(66.4% 0.122 236.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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