#BA8BFD

Closest named color: Liliac (#C48EFD). oklch(72.8% 0.166 301.4), rgb(186, 139, 253).

Aa

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

About this color

#BA8BFD is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.166 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.018 away. Black text reads best on it, at 8.19:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.166)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.19:1
White text2.56:1

Values

HEX#BA8BFD
RGBrgb(186, 139, 253)
HSLhsl(265, 97%, 77%)
OKLCHoklch(72.8% 0.166 301.4)

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 #BA8BFD 2.56:1 Fails Lc -55.1 Large or bold text, headings
Black text on #BA8BFD 8.19:1 AAA Lc 54.1 Large or bold text, headings
#BA8BFD text on white 2.56:1 Fails Lc 49.9 Large or bold text, headings
#BA8BFD text on black 8.19:1 AAA Lc -52.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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1FA

    oklch(88.5% 0.058 300.8)

  4. Step 300

    300

    #CCB1F9

    oklch(80.9% 0.103 301.3)

  5. Step 400

    400 (this color)

    #BA8BFD

    oklch(72.8% 0.166 301.4)

  6. Step 500

    500

    #A260F2

    oklch(63.1% 0.211 301.4)

  7. Step 600

    600

    #8E3FE0

    oklch(55.5% 0.23 301.6)

  8. Step 700

    700

    #792FC3

    oklch(49.1% 0.214 301.5)

  9. Step 800

    800

    #62299E

    oklch(42.7% 0.178 301.3)

  10. Step 900

    900

    #50287D

    oklch(37.7% 0.138 301.7)

  11. Step 950

    950

    #2F1949

    oklch(27.1% 0.087 302.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA8BFD 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)#6AA1FF0.112
Deuteranopia (no green cones)#75A1FA0.103
Tritanopia (no blue cones)#AE9FB80.127
Achromatopsia (no color)#A2A2A20.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA8BFD

    #BA8BFD

    oklch(72.8% 0.166 301.4)

  • #97B622

    #97B622

    oklch(72.8% 0.166 121.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA8BFD

    #BA8BFD

    oklch(72.8% 0.166 301.4)

  • #87A0FF

    #87A0FF

    oklch(72.7% 0.141 271.4)

  • #E17CD6

    #E17CD6

    oklch(72.8% 0.166 331.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA8BFD

    #BA8BFD

    oklch(72.8% 0.166 301.4)

  • #C9A200

    #C9A200

    oklch(72.7% 0.149 91.4)

  • #41C36F

    #41C36F

    oklch(72.6% 0.165 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA8BFD

    #BA8BFD

    oklch(72.8% 0.166 301.4)

  • #EF8B0E

    #EF8B0E

    oklch(72.8% 0.165 61.7)

  • #00C1AC

    #00C1AC

    oklch(72.7% 0.131 181.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA8BFD

    #BA8BFD

    oklch(72.8% 0.166 301.4)

  • #FD7A63

    #FD7A63

    oklch(72.8% 0.165 31.6)

  • #97B622

    #97B622

    oklch(72.8% 0.166 121.6)

  • #00BBD4

    #00BBD4

    oklch(72.7% 0.126 211.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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