#BA76DE

Closest named color: Light Purple (#BF77F6). oklch(67.8% 0.162 312.9), rgb(186, 118, 222).

Aa

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

About this color

#BA76DE is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.162 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.036 away. Black text reads best on it, at 6.73:1.

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

Values

HEX#BA76DE
RGBrgb(186, 118, 222)
HSLhsl(279, 61%, 67%)
OKLCHoklch(67.8% 0.162 312.9)

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 #BA76DE 3.11:1 AA large text Lc -63.3 Content text, not long reading
Black text on #BA76DE 6.73:1 AA Lc 46.1 Large or bold text, headings
#BA76DE text on white 3.11:1 AA large text Lc 57.9 Large or bold text, headings
#BA76DE text on black 6.73:1 AA Lc -43.8 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

    #E6CFF4

    oklch(88.5% 0.056 312.8)

  4. Step 300

    300

    #D8AEF0

    oklch(81% 0.101 313)

  5. Step 400

    400 (this color)

    #BA76DE

    oklch(67.8% 0.162 312.9)

  6. Step 500

    500

    #B459E1

    oklch(63.1% 0.208 312.8)

  7. Step 600

    600

    #9F37CE

    oklch(55.5% 0.226 312.8)

  8. Step 700

    700

    #8827B2

    oklch(49% 0.21 312.9)

  9. Step 800

    800

    #6F2490

    oklch(42.7% 0.173 313.2)

  10. Step 900

    900

    #5A2473

    oklch(37.7% 0.135 313.2)

  11. Step 950

    950

    #351744

    oklch(27.2% 0.086 312.9)

Export this scale for Tailwind in the Tailwind colors tool

#BA76DE 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)#608EE20.134
Deuteranopia (no green cones)#7294DB0.123
Tritanopia (no blue cones)#B786A00.111
Achromatopsia (no color)#9292920.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA76DE

    #BA76DE

    oklch(67.8% 0.162 312.9)

  • #6EAC35

    #6EAC35

    oklch(67.8% 0.163 133)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA76DE

    #BA76DE

    oklch(67.8% 0.162 312.9)

  • #8B87F7

    #8B87F7

    oklch(67.7% 0.162 282.8)

  • #DA6AB2

    #DA6AB2

    oklch(67.9% 0.163 343)

Open the analogous palette in the generator

Split complementary

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

  • #BA76DE

    #BA76DE

    oklch(67.8% 0.162 312.9)

  • #A89A00

    #A89A00

    oklch(67.7% 0.142 103)

  • #00B37D

    #00B37D

    oklch(67.8% 0.147 162.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA76DE

    #BA76DE

    oklch(67.8% 0.162 312.9)

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

  • #BA76DE

    #BA76DE

    oklch(67.8% 0.162 312.9)

  • #E7703B

    #E7703B

    oklch(67.7% 0.162 42.9)

  • #6EAC35

    #6EAC35

    oklch(67.8% 0.163 133)

  • #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 #BA76DE, closest first.

Similar named colors

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

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