#BA79E5

Closest named color: Light Purple (#BF77F6). oklch(68.6% 0.166 310.5), rgb(186, 121, 229).

Aa

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

About this color

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

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

Values

HEX#BA79E5
RGBrgb(186, 121, 229)
HSLhsl(276, 68%, 69%)
OKLCHoklch(68.6% 0.166 310.5)

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 #BA79E5 3.01:1 AA large text Lc -62.0 Content text, not long reading
Black text on #BA79E5 6.95:1 AA Lc 47.4 Large or bold text, headings
#BA79E5 text on white 3.01:1 AA large text Lc 56.7 Large or bold text, headings
#BA79E5 text on black 6.95:1 AA Lc -45.1 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

    #F0E5F9

    oklch(93.6% 0.029 310.1)

  3. Step 200

    200

    #E5CFF6

    oklch(88.5% 0.058 310.4)

  4. Step 300

    300

    #D6AEF3

    oklch(81% 0.104 310.5)

  5. Step 400

    400 (this color)

    #BA79E5

    oklch(68.6% 0.166 310.5)

  6. Step 500

    500

    #B159E6

    oklch(63.1% 0.212 310.5)

  7. Step 600

    600

    #9D37D4

    oklch(55.7% 0.231 310.6)

  8. Step 700

    700

    #8627B7

    oklch(49.1% 0.214 310.7)

  9. Step 800

    800

    #6D2394

    oklch(42.7% 0.177 310.8)

  10. Step 900

    900

    #582476

    oklch(37.6% 0.138 310.6)

  11. Step 950

    950

    #341745

    oklch(27.1% 0.086 311)

Export this scale for Tailwind in the Tailwind colors tool

#BA79E5 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)#5F91E90.133
Deuteranopia (no green cones)#7196E20.121
Tritanopia (no blue cones)#B58AA40.117
Achromatopsia (no color)#9494940.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA79E5

    #BA79E5

    oklch(68.6% 0.166 310.5)

  • #76AE2E

    #76AE2E

    oklch(68.7% 0.166 130.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA79E5

    #BA79E5

    oklch(68.6% 0.166 310.5)

  • #898BFD

    #898BFD

    oklch(68.7% 0.165 280.4)

  • #DB6CB9

    #DB6CB9

    oklch(68.5% 0.165 340.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA79E5

    #BA79E5

    oklch(68.6% 0.166 310.5)

  • #AE9B00

    #AE9B00

    oklch(68.5% 0.143 100.6)

  • #00B679

    #00B679

    oklch(68.5% 0.154 160.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA79E5

    #BA79E5

    oklch(68.6% 0.166 310.5)

  • #D38700

    #D38700

    oklch(68.6% 0.148 70.2)

  • #00B1AB

    #00B1AB

    oklch(68.6% 0.118 190.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA79E5

    #BA79E5

    oklch(68.6% 0.166 310.5)

  • #EC7041

    #EC7041

    oklch(68.5% 0.165 40.5)

  • #76AE2E

    #76AE2E

    oklch(68.7% 0.166 130.6)

  • #00ABD0

    #00ABD0

    oklch(68.6% 0.125 220.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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