#BA78CA

Closest named color: Wisteria (#A87DC2). oklch(67.1% 0.137 319.6), rgb(186, 120, 202).

Aa

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

About this color

#BA78CA is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.137 and its hue 320°. 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.62:1.

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

Values

HEX#BA78CA
RGBrgb(186, 120, 202)
HSLhsl(288, 44%, 63%)
OKLCHoklch(67.1% 0.137 319.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 #BA78CA 3.16:1 AA large text Lc -64.0 Content text, not long reading
Black text on #BA78CA 6.62:1 AA Lc 45.4 Large or bold text, headings
#BA78CA text on white 3.16:1 AA large text Lc 58.6 Large or bold text, headings
#BA78CA text on black 6.62:1 AA Lc -43.1 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E7D0ED

    oklch(88.5% 0.046 319.2)

  4. Step 300

    300

    #D9AFE4

    oklch(80.9% 0.086 319.2)

  5. Step 400

    400 (this color)

    #BA78CA

    oklch(67.1% 0.137 319.6)

  6. Step 500

    500

    #B660CA

    oklch(63% 0.175 319.8)

  7. Step 600

    600

    #A143B7

    oklch(55.5% 0.19 319.6)

  8. Step 700

    700

    #8A349E

    oklch(49.2% 0.177 319.5)

  9. Step 800

    800

    #702C80

    oklch(42.7% 0.147 319.5)

  10. Step 900

    900

    #5B2967

    oklch(37.7% 0.115 319.5)

  11. Step 950

    950

    #35193C

    oklch(27% 0.072 319.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA78CA 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)#6D8CCD0.119
Deuteranopia (no green cones)#7E93C80.108
Tritanopia (no blue cones)#BB82970.088
Achromatopsia (no color)#9191910.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA78CA

    #BA78CA

    oklch(67.1% 0.137 319.6)

  • #66AA55

    #66AA55

    oklch(67.3% 0.137 139.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA78CA

    #BA78CA

    oklch(67.1% 0.137 319.6)

  • #9585E4

    #9585E4

    oklch(67.1% 0.138 289.9)

  • #D370A2

    #D370A2

    oklch(67.2% 0.137 349.8)

Open the analogous palette in the generator

Split complementary

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

  • #BA78CA

    #BA78CA

    oklch(67.1% 0.137 319.6)

  • #9C9C1F

    #9C9C1F

    oklch(67.2% 0.137 109.6)

  • #00AF88

    #00AF88

    oklch(67% 0.133 169.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA78CA

    #BA78CA

    oklch(67.1% 0.137 319.6)

  • #C28A0B

    #C28A0B

    oklch(67.1% 0.137 79.3)

  • #00AAB1

    #00AAB1

    oklch(67.1% 0.114 200)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA78CA

    #BA78CA

    oklch(67.1% 0.137 319.6)

  • #D77941

    #D77941

    oklch(67% 0.137 49.5)

  • #66AA55

    #66AA55

    oklch(67.3% 0.137 139.6)

  • #00A4D7

    #00A4D7

    oklch(67.2% 0.133 229.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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