#BA79EC

Closest named color: Light Purple (#BF77F6). oklch(69% 0.174 308.6), rgb(186, 121, 236).

Aa

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

About this color

#BA79EC is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.174 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.018 away. Black text reads best on it, at 7.03:1.

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

Values

HEX#BA79EC
RGBrgb(186, 121, 236)
HSLhsl(274, 75%, 70%)
OKLCHoklch(69% 0.174 308.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 #BA79EC 2.98:1 Fails Lc -61.6 Content text, not long reading
Black text on #BA79EC 7.03:1 AAA Lc 47.8 Large or bold text, headings
#BA79EC text on white 2.98:1 Fails Lc 56.2 Large or bold text, headings
#BA79EC text on black 7.03:1 AAA Lc -45.6 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

    #F0E5FA

    oklch(93.7% 0.03 309.1)

  3. Step 200

    200

    #E4CFF8

    oklch(88.5% 0.06 308.2)

  4. Step 300

    300

    #D5AEF6

    oklch(81% 0.107 308.8)

  5. Step 400

    400 (this color)

    #BA79EC

    oklch(69% 0.174 308.6)

  6. Step 500

    500

    #B057ED

    oklch(63.2% 0.222 308.7)

  7. Step 600

    600

    #9C33DB

    oklch(55.7% 0.241 308.8)

  8. Step 700

    700

    #8522BE

    oklch(49.1% 0.224 308.7)

  9. Step 800

    800

    #6C209A

    oklch(42.7% 0.186 308.6)

  10. Step 900

    900

    #57227A

    oklch(37.6% 0.145 308.5)

  11. Step 950

    950

    #331648

    oklch(27% 0.092 308.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA79EC 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)#5B93F00.137
Deuteranopia (no green cones)#6D96E90.124
Tritanopia (no blue cones)#B38CA80.123
Achromatopsia (no color)#9595950.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA79EC

    #BA79EC

    oklch(69% 0.174 308.6)

  • #7AAE1B

    #7AAE1B

    oklch(68.9% 0.173 128.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA79EC

    #BA79EC

    oklch(69% 0.174 308.6)

  • #868DFF

    #868DFF

    oklch(69% 0.166 278.5)

  • #DE6BBF

    #DE6BBF

    oklch(69% 0.173 338.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA79EC

    #BA79EC

    oklch(69% 0.174 308.6)

  • #B29B00

    #B29B00

    oklch(68.9% 0.143 98.6)

  • #00B875

    #00B875

    oklch(69% 0.16 158.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA79EC

    #BA79EC

    oklch(69% 0.174 308.6)

  • #D78700

    #D78700

    oklch(69.1% 0.151 68.6)

  • #00B3AA

    #00B3AA

    oklch(69.1% 0.12 188.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA79EC

    #BA79EC

    oklch(69% 0.174 308.6)

  • #F26E41

    #F26E41

    oklch(69.1% 0.173 38.9)

  • #7AAE1B

    #7AAE1B

    oklch(68.9% 0.173 128.5)

  • #00ADCF

    #00ADCF

    oklch(69% 0.124 218.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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