#BA76DF

Closest named color: Light Purple (#BF77F6). oklch(67.8% 0.164 312.6), rgb(186, 118, 223).

Aa

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

About this color

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

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

Values

HEX#BA76DF
RGBrgb(186, 118, 223)
HSLhsl(279, 62%, 67%)
OKLCHoklch(67.8% 0.164 312.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 #BA76DF 3.11:1 AA large text Lc -63.3 Content text, not long reading
Black text on #BA76DF 6.74:1 AA Lc 46.2 Large or bold text, headings
#BA76DF text on white 3.11:1 AA large text Lc 57.9 Large or bold text, headings
#BA76DF text on black 6.74:1 AA Lc -43.9 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

    #F1E5F8

    oklch(93.7% 0.028 313.4)

  3. Step 200

    200

    #E6CFF5

    oklch(88.5% 0.057 312.1)

  4. Step 300

    300

    #D7ADF0

    oklch(80.8% 0.103 312.5)

  5. Step 400

    400 (this color)

    #BA76DF

    oklch(67.8% 0.164 312.6)

  6. Step 500

    500

    #B459E2

    oklch(63.2% 0.209 312.6)

  7. Step 600

    600

    #9F37CF

    oklch(55.6% 0.227 312.6)

  8. Step 700

    700

    #8827B3

    oklch(49.1% 0.211 312.6)

  9. Step 800

    800

    #6F2391

    oklch(42.7% 0.175 312.9)

  10. Step 900

    900

    #5A2474

    oklch(37.8% 0.136 312.8)

  11. Step 950

    950

    #351644

    oklch(27% 0.087 313.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA76DF 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)#5F8EE30.135
Deuteranopia (no green cones)#7294DC0.123
Tritanopia (no blue cones)#B786A00.112
Achromatopsia (no color)#9292920.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA76DF

    #BA76DF

    oklch(67.8% 0.164 312.6)

  • #6FAC33

    #6FAC33

    oklch(67.9% 0.164 132.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA76DF

    #BA76DF

    oklch(67.8% 0.164 312.6)

  • #8B87F8

    #8B87F8

    oklch(67.8% 0.163 282.7)

  • #DA6AB3

    #DA6AB3

    oklch(67.9% 0.163 342.6)

Open the analogous palette in the generator

Split complementary

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

  • #BA76DF

    #BA76DF

    oklch(67.8% 0.164 312.6)

  • #A99A00

    #A99A00

    oklch(67.8% 0.142 102.5)

  • #00B37C

    #00B37C

    oklch(67.8% 0.148 162.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA76DF

    #BA76DF

    oklch(67.8% 0.164 312.6)

  • #CD8700

    #CD8700

    oklch(67.9% 0.145 72.8)

  • #00AEAB

    #00AEAB

    oklch(67.9% 0.116 192.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA76DF

    #BA76DF

    oklch(67.8% 0.164 312.6)

  • #E8703B

    #E8703B

    oklch(67.9% 0.163 42.8)

  • #6FAC33

    #6FAC33

    oklch(67.9% 0.164 132.5)

  • #00A8D0

    #00A8D0

    oklch(67.9% 0.126 222.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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