#BA78F6

Closest named color: Light Purple (#BF77F6). oklch(69.4% 0.187 306.3), rgb(186, 120, 246).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.187)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.10:1
White text2.95:1

Values

HEX#BA78F6
RGBrgb(186, 120, 246)
HSLhsl(271, 88%, 72%)
OKLCHoklch(69.4% 0.187 306.3)

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 #BA78F6 2.95:1 Fails Lc -61.1 Content text, not long reading
Black text on #BA78F6 7.10:1 AAA Lc 48.3 Large or bold text, headings
#BA78F6 text on white 2.95:1 Fails Lc 55.8 Large or bold text, headings
#BA78F6 text on black 7.10:1 AAA Lc -46.0 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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #EFE4FC

    oklch(93.5% 0.034 306.3)

  3. Step 200

    200

    #E4CFFC

    oklch(88.6% 0.065 306.2)

  4. Step 300

    300

    #D4ADFC

    oklch(81% 0.116 306.6)

  5. Step 400

    400 (this color)

    #BA78F6

    oklch(69.4% 0.187 306.3)

  6. Step 500

    500

    #AF52F8

    oklch(63.2% 0.239 306.4)

  7. Step 600

    600

    #9B29E6

    oklch(55.6% 0.259 306.5)

  8. Step 700

    700

    #8415C8

    oklch(49% 0.241 306.3)

  9. Step 800

    800

    #6B19A2

    oklch(42.7% 0.2 306.1)

  10. Step 900

    900

    #571F80

    oklch(37.7% 0.155 306.6)

  11. Step 950

    950

    #33144B

    oklch(27% 0.099 306.8)

Export this scale for Tailwind in the Tailwind colors tool

#BA78F6 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)#5294FA0.145
Deuteranopia (no green cones)#6697F30.131
Tritanopia (no blue cones)#B18EAC0.135
Achromatopsia (no color)#9696960.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA78F6

    #BA78F6

    oklch(69.4% 0.187 306.3)

  • #80AF00

    #80AF00

    oklch(69.4% 0.178 126.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA78F6

    #BA78F6

    oklch(69.4% 0.187 306.3)

  • #8390FF

    #8390FF

    oklch(69.3% 0.162 276.3)

  • #E168C7

    #E168C7

    oklch(69.4% 0.186 336.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA78F6

    #BA78F6

    oklch(69.4% 0.187 306.3)

  • #B79B00

    #B79B00

    oklch(69.4% 0.143 96.1)

  • #00BA6F

    #00BA6F

    oklch(69.4% 0.168 156.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA78F6

    #BA78F6

    oklch(69.4% 0.187 306.3)

  • #DB8600

    #DB8600

    oklch(69.4% 0.154 66.5)

  • #00B4A8

    #00B4A8

    oklch(69.3% 0.121 186.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA78F6

    #BA78F6

    oklch(69.4% 0.187 306.3)

  • #F96840

    #F96840

    oklch(69.3% 0.186 36.2)

  • #80AF00

    #80AF00

    oklch(69.4% 0.178 126.5)

  • #00AFCD

    #00AFCD

    oklch(69.4% 0.123 215.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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