#BA78F5

Closest named color: Light Purple (#BF77F6). oklch(69.3% 0.185 306.6), rgb(186, 120, 245).

Aa

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

About this color

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

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

Values

HEX#BA78F5
RGBrgb(186, 120, 245)
HSLhsl(272, 86%, 72%)
OKLCHoklch(69.3% 0.185 306.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 #BA78F5 2.96:1 Fails Lc -61.2 Content text, not long reading
Black text on #BA78F5 7.09:1 AAA Lc 48.2 Large or bold text, headings
#BA78F5 text on white 2.96:1 Fails Lc 55.8 Large or bold text, headings
#BA78F5 text on black 7.09:1 AAA Lc -45.9 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

    #EFE5FC

    oklch(93.7% 0.032 305.3)

  3. Step 200

    200

    #E4CFFB

    oklch(88.6% 0.064 306.7)

  4. Step 300

    300

    #D4ADFC

    oklch(81% 0.116 306.6)

  5. Step 400

    400 (this color)

    #BA78F5

    oklch(69.3% 0.185 306.6)

  6. Step 500

    500

    #AF52F7

    oklch(63.1% 0.238 306.6)

  7. Step 600

    600

    #9B2AE5

    oklch(55.6% 0.257 306.7)

  8. Step 700

    700

    #8417C7

    oklch(49.1% 0.239 306.5)

  9. Step 800

    800

    #6B1AA1

    oklch(42.7% 0.198 306.4)

  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

#BA78F5 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)#5294F90.145
Deuteranopia (no green cones)#6696F20.131
Tritanopia (no blue cones)#B18EAB0.135
Achromatopsia (no color)#9696960.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA78F5

    #BA78F5

    oklch(69.3% 0.185 306.6)

  • #7FAF00

    #7FAF00

    oklch(69.4% 0.178 126.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA78F5

    #BA78F5

    oklch(69.3% 0.185 306.6)

  • #8490FF

    #8490FF

    oklch(69.4% 0.162 276.7)

  • #E168C6

    #E168C6

    oklch(69.3% 0.186 336.8)

Open the analogous palette in the generator

Split complementary

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

  • #BA78F5

    #BA78F5

    oklch(69.3% 0.185 306.6)

  • #B69B00

    #B69B00

    oklch(69.3% 0.143 96.6)

  • #00BA70

    #00BA70

    oklch(69.4% 0.167 156.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA78F5

    #BA78F5

    oklch(69.3% 0.185 306.6)

  • #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.

  • #BA78F5

    #BA78F5

    oklch(69.3% 0.185 306.6)

  • #F96940

    #F96940

    oklch(69.4% 0.185 36.5)

  • #7FAF00

    #7FAF00

    oklch(69.4% 0.178 126.8)

  • #00AECD

    #00AECD

    oklch(69.2% 0.123 216.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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