#BA76E2

Closest named color: Light Purple (#BF77F6). oklch(68% 0.167 311.7), rgb(186, 118, 226).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.167)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text6.77:1
White text3.09:1

Values

HEX#BA76E2
RGBrgb(186, 118, 226)
HSLhsl(278, 65%, 67%)
OKLCHoklch(68% 0.167 311.7)

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 #BA76E2 3.09:1 AA large text Lc -63.1 Content text, not long reading
Black text on #BA76E2 6.77:1 AA Lc 46.4 Large or bold text, headings
#BA76E2 text on white 3.09:1 AA large text Lc 57.7 Large or bold text, headings
#BA76E2 text on black 6.77:1 AA Lc -44.1 Non-text elements, placeholder text

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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E5F9

    oklch(93.7% 0.03 312.1)

  3. Step 200

    200

    #E6CFF6

    oklch(88.6% 0.058 311.5)

  4. Step 300

    300

    #D7ADF2

    oklch(80.8% 0.105 311.8)

  5. Step 400

    400 (this color)

    #BA76E2

    oklch(68% 0.167 311.7)

  6. Step 500

    500

    #B358E5

    oklch(63.1% 0.213 311.6)

  7. Step 600

    600

    #9F35D3

    oklch(55.7% 0.232 311.7)

  8. Step 700

    700

    #8825B6

    oklch(49.1% 0.215 311.9)

  9. Step 800

    800

    #6E2294

    oklch(42.7% 0.179 311.4)

  10. Step 900

    900

    #592376

    oklch(37.6% 0.14 311.4)

  11. Step 950

    950

    #341645

    oklch(26.9% 0.088 311.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA76E2 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)#5D8FE60.137
Deuteranopia (no green cones)#7094DF0.124
Tritanopia (no blue cones)#B687A10.117
Achromatopsia (no color)#9292920.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA76E2

    #BA76E2

    oklch(68% 0.167 311.7)

  • #71AC2D

    #71AC2D

    oklch(67.9% 0.167 131.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA76E2

    #BA76E2

    oklch(68% 0.167 311.7)

  • #8A88FB

    #8A88FB

    oklch(68.1% 0.166 281.8)

  • #DB69B5

    #DB69B5

    oklch(68% 0.167 341.9)

Open the analogous palette in the generator

Split complementary

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

  • #BA76E2

    #BA76E2

    oklch(68% 0.167 311.7)

  • #AB9A00

    #AB9A00

    oklch(68% 0.142 101.5)

  • #00B47B

    #00B47B

    oklch(68% 0.15 161.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA76E2

    #BA76E2

    oklch(68% 0.167 311.7)

  • #CF8700

    #CF8700

    oklch(68.1% 0.146 71.9)

  • #00AFAA

    #00AFAA

    oklch(68.1% 0.117 191.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA76E2

    #BA76E2

    oklch(68% 0.167 311.7)

  • #EA6F3B

    #EA6F3B

    oklch(68% 0.166 42)

  • #71AC2D

    #71AC2D

    oklch(67.9% 0.167 131.5)

  • #00A9CF

    #00A9CF

    oklch(68.1% 0.125 221.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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