#BA93EF

Closest named color: Liliac (#C48EFD). oklch(73.4% 0.135 302.7), rgb(186, 147, 239).

Aa

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

About this color

#BA93EF is a medium-light, moderately saturated purple. In OKLCH its lightness is 73%, its chroma 0.135 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.030 away. Black text reads best on it, at 8.50:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.50:1
White text2.46:1

Values

HEX#BA93EF
RGBrgb(186, 147, 239)
HSLhsl(265, 74%, 76%)
OKLCHoklch(73.4% 0.135 302.7)

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 #BA93EF 2.46:1 Fails Lc -53.5 Large or bold text, headings
Black text on #BA93EF 8.50:1 AAA Lc 55.6 Large or bold text, headings
#BA93EF text on white 2.46:1 Fails Lc 48.4 Large or bold text, headings
#BA93EF text on black 8.50:1 AAA Lc -53.6 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #DFD2F3

    oklch(88.4% 0.047 303.3)

  4. Step 300

    300

    #CBB4EE

    oklch(80.9% 0.084 302.7)

  5. Step 400

    400 (this color)

    #BA93EF

    oklch(73.4% 0.135 302.7)

  6. Step 500

    500

    #9F6ADE

    oklch(63.1% 0.173 302.9)

  7. Step 600

    600

    #8A4ECC

    oklch(55.5% 0.189 302.6)

  8. Step 700

    700

    #763EB0

    oklch(49.1% 0.175 303.1)

  9. Step 800

    800

    #60348F

    oklch(42.7% 0.146 303)

  10. Step 900

    900

    #4E2F72

    oklch(37.7% 0.113 302.7)

  11. Step 950

    950

    #2E1C43

    oklch(27% 0.072 303.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA93EF 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)#7DA4F30.088
Deuteranopia (no green cones)#85A5ED0.082
Tritanopia (no blue cones)#B1A2B60.104
Achromatopsia (no color)#A5A5A50.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA93EF

    #BA93EF

    oklch(73.4% 0.135 302.7)

  • #9AB74F

    #9AB74F

    oklch(73.6% 0.135 122.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA93EF

    #BA93EF

    oklch(73.4% 0.135 302.7)

  • #8DA2FE

    #8DA2FE

    oklch(73.4% 0.136 272.9)

  • #DB87CE

    #DB87CE

    oklch(73.4% 0.136 332.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA93EF

    #BA93EF

    oklch(73.4% 0.135 302.7)

  • #C7A630

    #C7A630

    oklch(73.5% 0.135 92.5)

  • #5DC17F

    #5DC17F

    oklch(73.4% 0.135 152.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA93EF

    #BA93EF

    oklch(73.4% 0.135 302.7)

  • #E49444

    #E49444

    oklch(73.3% 0.135 62.7)

  • #00C3B0

    #00C3B0

    oklch(73.4% 0.131 182.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA93EF

    #BA93EF

    oklch(73.4% 0.135 302.7)

  • #F28771

    #F28771

    oklch(73.5% 0.135 32.7)

  • #9AB74F

    #9AB74F

    oklch(73.6% 0.135 122.8)

  • #00BDD9

    #00BDD9

    oklch(73.4% 0.129 213.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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