#BA81FB

Closest named color: Light Purple (#BF77F6). oklch(71% 0.179 303.8), rgb(186, 129, 251).

Aa

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

About this color

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

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

Values

HEX#BA81FB
RGBrgb(186, 129, 251)
HSLhsl(268, 94%, 75%)
OKLCHoklch(71% 0.179 303.8)

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 #BA81FB 2.75:1 Fails Lc -58.2 Large or bold text, headings
Black text on #BA81FB 7.62:1 AAA Lc 51.1 Large or bold text, headings
#BA81FB text on white 2.75:1 Fails Lc 53.0 Large or bold text, headings
#BA81FB text on black 7.62:1 AAA Lc -48.9 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FC

    oklch(93.6% 0.032 303.5)

  3. Step 200

    200

    #E2D0FB

    oklch(88.6% 0.061 304.2)

  4. Step 300

    300

    #D0AFFC

    oklch(81% 0.112 303.6)

  5. Step 400

    400 (this color)

    #BA81FB

    oklch(71% 0.179 303.8)

  6. Step 500

    500

    #A858F7

    oklch(63.1% 0.229 303.6)

  7. Step 600

    600

    #9433E5

    oklch(55.5% 0.248 303.7)

  8. Step 700

    700

    #7F22C7

    oklch(49.1% 0.231 304)

  9. Step 800

    800

    #6721A1

    oklch(42.7% 0.191 303.9)

  10. Step 900

    900

    #532380

    oklch(37.6% 0.149 303.5)

  11. Step 950

    950

    #31164B

    oklch(27% 0.095 304.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA81FB 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)#5C9AFF0.130
Deuteranopia (no green cones)#6C9CF80.119
Tritanopia (no blue cones)#AF97B20.135
Achromatopsia (no color)#9C9C9C0.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA81FB

    #BA81FB

    oklch(71% 0.179 303.8)

  • #8CB200

    #8CB200

    oklch(71% 0.175 123.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA81FB

    #BA81FB

    oklch(71% 0.179 303.8)

  • #8598FF

    #8598FF

    oklch(71% 0.152 274)

  • #E271CF

    #E271CF

    oklch(71% 0.179 334)

Open the analogous palette in the generator

Split complementary

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

  • #BA81FB

    #BA81FB

    oklch(71% 0.179 303.8)

  • #C09F00

    #C09F00

    oklch(71.1% 0.146 94)

  • #09C06B

    #09C06B

    oklch(70.9% 0.178 153.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA81FB

    #BA81FB

    oklch(71% 0.179 303.8)

  • #E68800

    #E68800

    oklch(71.1% 0.161 63.7)

  • #00BBAA

    #00BBAA

    oklch(71.1% 0.126 183.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA81FB

    #BA81FB

    oklch(71% 0.179 303.8)

  • #FD7051

    #FD7051

    oklch(71.1% 0.179 33.9)

  • #8CB200

    #8CB200

    oklch(71% 0.175 123.6)

  • #00B5D1

    #00B5D1

    oklch(71.1% 0.125 214)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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