#BA81EC

Closest named color: Light Purple (#BF77F6). oklch(70.3% 0.161 307.3), rgb(186, 129, 236).

Aa

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

About this color

#BA81EC is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.161 and its hue 307°. 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 7.43:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.161)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.43:1
White text2.82:1

Values

HEX#BA81EC
RGBrgb(186, 129, 236)
HSLhsl(272, 74%, 72%)
OKLCHoklch(70.3% 0.161 307.3)

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 #BA81EC 2.82:1 Fails Lc -59.3 Large or bold text, headings
Black text on #BA81EC 7.43:1 AAA Lc 50.0 Large or bold text, headings
#BA81EC text on white 2.82:1 Fails Lc 54.0 Large or bold text, headings
#BA81EC text on black 7.43:1 AAA Lc -47.8 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

    #EFE5F9

    oklch(93.6% 0.029 308.1)

  3. Step 200

    200

    #E3D0F7

    oklch(88.5% 0.057 307.2)

  4. Step 300

    300

    #D2B0F3

    oklch(81% 0.099 307.4)

  5. Step 400

    400 (this color)

    #BA81EC

    oklch(70.3% 0.161 307.3)

  6. Step 500

    500

    #AB5EE8

    oklch(63.2% 0.205 307.2)

  7. Step 600

    600

    #973DD6

    oklch(55.6% 0.224 307.4)

  8. Step 700

    700

    #812DB9

    oklch(49.1% 0.208 307.6)

  9. Step 800

    800

    #682896

    oklch(42.7% 0.172 307)

  10. Step 900

    900

    #552777

    oklch(37.7% 0.134 307.6)

  11. Step 950

    950

    #321846

    oklch(27.1% 0.085 307.8)

Export this scale for Tailwind in the Tailwind colors tool

#BA81EC 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)#6698F00.122
Deuteranopia (no green cones)#759AE90.110
Tritanopia (no blue cones)#B393AB0.118
Achromatopsia (no color)#9A9A9A0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA81EC

    #BA81EC

    oklch(70.3% 0.161 307.3)

  • #83B131

    #83B131

    oklch(70.3% 0.161 127.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA81EC

    #BA81EC

    oklch(70.3% 0.161 307.3)

  • #8893FF

    #8893FF

    oklch(70.2% 0.157 277.2)

  • #DD74C3

    #DD74C3

    oklch(70.3% 0.161 337.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA81EC

    #BA81EC

    oklch(70.3% 0.161 307.3)

  • #B89E00

    #B89E00

    oklch(70.1% 0.145 97.3)

  • #1BBC76

    #1BBC76

    oklch(70.2% 0.161 157.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA81EC

    #BA81EC

    oklch(70.3% 0.161 307.3)

  • #DE8900

    #DE8900

    oklch(70.3% 0.155 67.1)

  • #00B7AC

    #00B7AC

    oklch(70.2% 0.122 187.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA81EC

    #BA81EC

    oklch(70.3% 0.161 307.3)

  • #F17651

    #F17651

    oklch(70.3% 0.16 37.5)

  • #83B131

    #83B131

    oklch(70.3% 0.161 127.5)

  • #00B1D2

    #00B1D2

    oklch(70.2% 0.126 217.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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