#BA81F3

Closest named color: Light Purple (#BF77F6). oklch(70.6% 0.169 305.6), rgb(186, 129, 243).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.169)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.52:1
White text2.79:1

Values

HEX#BA81F3
RGBrgb(186, 129, 243)
HSLhsl(270, 83%, 73%)
OKLCHoklch(70.6% 0.169 305.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 #BA81F3 2.79:1 Fails Lc -58.8 Large or bold text, headings
Black text on #BA81F3 7.52:1 AAA Lc 50.5 Large or bold text, headings
#BA81F3 text on white 2.79:1 Fails Lc 53.5 Large or bold text, headings
#BA81F3 text on black 7.52:1 AAA Lc -48.3 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

    #EFE5FB

    oklch(93.6% 0.031 306.2)

  3. Step 200

    200

    #E2D0F9

    oklch(88.5% 0.059 305.1)

  4. Step 300

    300

    #D1AFF7

    oklch(80.9% 0.106 305.7)

  5. Step 400

    400 (this color)

    #BA81F3

    oklch(70.6% 0.169 305.6)

  6. Step 500

    500

    #AA5BEF

    oklch(63.1% 0.217 305.6)

  7. Step 600

    600

    #9639DD

    oklch(55.6% 0.235 305.7)

  8. Step 700

    700

    #8029C0

    oklch(49.2% 0.218 305.6)

  9. Step 800

    800

    #68259B

    oklch(42.7% 0.181 305.8)

  10. Step 900

    900

    #54257B

    oklch(37.6% 0.141 305.7)

  11. Step 950

    950

    #311748

    oklch(26.9% 0.089 305.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA81F3 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)#6299F70.125
Deuteranopia (no green cones)#719BF00.114
Tritanopia (no blue cones)#B194AF0.124
Achromatopsia (no color)#9B9B9B0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA81F3

    #BA81F3

    oklch(70.6% 0.169 305.6)

  • #87B220

    #87B220

    oklch(70.7% 0.169 125.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA81F3

    #BA81F3

    oklch(70.6% 0.169 305.6)

  • #8696FF

    #8696FF

    oklch(70.7% 0.154 275.2)

  • #DF73C9

    #DF73C9

    oklch(70.7% 0.169 335.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA81F3

    #BA81F3

    oklch(70.6% 0.169 305.6)

  • #BC9E00

    #BC9E00

    oklch(70.5% 0.145 95.4)

  • #14BE71

    #14BE71

    oklch(70.6% 0.169 155.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA81F3

    #BA81F3

    oklch(70.6% 0.169 305.6)

  • #E18800

    #E18800

    oklch(70.5% 0.158 65.5)

  • #00B9AB

    #00B9AB

    oklch(70.7% 0.124 185.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA81F3

    #BA81F3

    oklch(70.6% 0.169 305.6)

  • #F77351

    #F77351

    oklch(70.7% 0.17 35.5)

  • #87B220

    #87B220

    oklch(70.7% 0.169 125.7)

  • #00B3D1

    #00B3D1

    oklch(70.6% 0.125 215.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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