#BA78EC

Closest named color: Light Purple (#BF77F6). oklch(68.8% 0.175 308.8), rgb(186, 120, 236).

Aa

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

About this color

#BA78EC is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.175 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.017 away. Black text reads best on it, at 6.98:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.175)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text6.98:1
White text3.00:1

Values

HEX#BA78EC
RGBrgb(186, 120, 236)
HSLhsl(274, 75%, 70%)
OKLCHoklch(68.8% 0.175 308.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 #BA78EC 3.00:1 AA large text Lc -61.8 Content text, not long reading
Black text on #BA78EC 6.98:1 AA Lc 47.6 Large or bold text, headings
#BA78EC text on white 3.00:1 AA large text Lc 56.5 Large or bold text, headings
#BA78EC text on black 6.98:1 AA Lc -45.3 Large or bold text, headings

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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #F0E5FB

    oklch(93.7% 0.032 308.1)

  3. Step 200

    200

    #E5CFF8

    oklch(88.5% 0.06 309.2)

  4. Step 300

    300

    #D5ADF7

    oklch(80.9% 0.11 308.7)

  5. Step 400

    400 (this color)

    #BA78EC

    oklch(68.8% 0.175 308.8)

  6. Step 500

    500

    #B056EE

    oklch(63.1% 0.224 308.5)

  7. Step 600

    600

    #9C31DC

    oklch(55.6% 0.243 308.7)

  8. Step 700

    700

    #8520BF

    oklch(49.1% 0.226 308.5)

  9. Step 800

    800

    #6C1F9A

    oklch(42.6% 0.187 308.7)

  10. Step 900

    900

    #58227B

    oklch(37.8% 0.146 308.8)

  11. Step 950

    950

    #331648

    oklch(27% 0.092 308.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA78EC 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)#5992F00.139
Deuteranopia (no green cones)#6C96E90.126
Tritanopia (no blue cones)#B38BA70.125
Achromatopsia (no color)#9595950.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA78EC

    #BA78EC

    oklch(68.8% 0.175 308.8)

  • #79AE18

    #79AE18

    oklch(68.8% 0.175 128.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA78EC

    #BA78EC

    oklch(68.8% 0.175 308.8)

  • #868CFF

    #868CFF

    oklch(68.8% 0.167 278.8)

  • #DE6ABF

    #DE6ABF

    oklch(68.9% 0.175 338.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA78EC

    #BA78EC

    oklch(68.8% 0.175 308.8)

  • #B29B00

    #B29B00

    oklch(68.9% 0.143 98.6)

  • #00B775

    #00B775

    oklch(68.7% 0.159 158.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA78EC

    #BA78EC

    oklch(68.8% 0.175 308.8)

  • #D68600

    #D68600

    oklch(68.8% 0.151 68.4)

  • #00B2A9

    #00B2A9

    oklch(68.8% 0.119 188.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA78EC

    #BA78EC

    oklch(68.8% 0.175 308.8)

  • #F26D3F

    #F26D3F

    oklch(68.9% 0.175 39)

  • #79AE18

    #79AE18

    oklch(68.8% 0.175 128.7)

  • #00ACCE

    #00ACCE

    oklch(68.8% 0.124 218.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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