#BA81DF

Closest named color: Pale Purple (#B790D4). oklch(69.6% 0.145 311), rgb(186, 129, 223).

Aa

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

About this color

#BA81DF is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.145 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.044 away. Black text reads best on it, at 7.29:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.145)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.29:1
White text2.87:1

Values

HEX#BA81DF
RGBrgb(186, 129, 223)
HSLhsl(276, 59%, 69%)
OKLCHoklch(69.6% 0.145 311)

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 #BA81DF 2.87:1 Fails Lc -60.2 Content text, not long reading
Black text on #BA81DF 7.29:1 AAA Lc 49.2 Large or bold text, headings
#BA81DF text on white 2.87:1 Fails Lc 54.8 Large or bold text, headings
#BA81DF text on black 7.29:1 AAA Lc -47.0 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F7

    oklch(93.5% 0.026 310.4)

  3. Step 200

    200

    #E4D0F2

    oklch(88.4% 0.051 311.5)

  4. Step 300

    300

    #D4B0EC

    oklch(80.9% 0.091 311.5)

  5. Step 400

    400 (this color)

    #BA81DF

    oklch(69.6% 0.145 311)

  6. Step 500

    500

    #AD62DA

    oklch(63.1% 0.185 311.1)

  7. Step 600

    600

    #9844C8

    oklch(55.6% 0.202 310.7)

  8. Step 700

    700

    #8234AD

    oklch(49.1% 0.188 310.9)

  9. Step 800

    800

    #6A2D8C

    oklch(42.8% 0.155 311)

  10. Step 900

    900

    #562A70

    oklch(37.8% 0.121 310.9)

  11. Step 950

    950

    #321941

    oklch(26.9% 0.077 311.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA81DF 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)#6E95E20.113
Deuteranopia (no green cones)#7C99DC0.103
Tritanopia (no blue cones)#B68FA50.103
Achromatopsia (no color)#9898980.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA81DF

    #BA81DF

    oklch(69.6% 0.145 311)

  • #7DAF47

    #7DAF47

    oklch(69.6% 0.145 130.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA81DF

    #BA81DF

    oklch(69.6% 0.145 311)

  • #8E90F5

    #8E90F5

    oklch(69.5% 0.146 281)

  • #D876B8

    #D876B8

    oklch(69.6% 0.145 340.8)

Open the analogous palette in the generator

Split complementary

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

  • #BA81DF

    #BA81DF

    oklch(69.6% 0.145 311)

  • #B19F00

    #B19F00

    oklch(69.7% 0.145 101.3)

  • #26B87F

    #26B87F

    oklch(69.5% 0.145 161)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA81DF

    #BA81DF

    oklch(69.6% 0.145 311)

  • #D58B14

    #D58B14

    oklch(69.6% 0.146 70.7)

  • #00B4AF

    #00B4AF

    oklch(69.5% 0.12 191.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA81DF

    #BA81DF

    oklch(69.6% 0.145 311)

  • #E77B52

    #E77B52

    oklch(69.7% 0.145 41)

  • #7DAF47

    #7DAF47

    oklch(69.6% 0.145 130.9)

  • #00AED5

    #00AED5

    oklch(69.6% 0.128 221.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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