#BA91FF

Closest named color: Liliac (#C48EFD). oklch(73.9% 0.159 299.7), rgb(186, 145, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.159)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.58:1
White text2.44:1

Values

HEX#BA91FF
RGBrgb(186, 145, 255)
HSLhsl(262, 100%, 78%)
OKLCHoklch(73.9% 0.159 299.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 #BA91FF 2.44:1 Fails Lc -53.0 Large or bold text, headings
Black text on #BA91FF 8.58:1 AAA Lc 56.0 Large or bold text, headings
#BA91FF text on white 2.44:1 Fails Lc 48.0 Large or bold text, headings
#BA91FF text on black 8.58:1 AAA Lc -54.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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #ECE6FB

    oklch(93.6% 0.029 298.9)

  3. Step 200

    200

    #DED2F9

    oklch(88.6% 0.054 299.3)

  4. Step 300

    300

    #CAB2F8

    oklch(80.8% 0.1 299.9)

  5. Step 400

    400 (this color)

    #BA91FF

    oklch(73.9% 0.159 299.7)

  6. Step 500

    500

    #9E64F0

    oklch(63.2% 0.203 299.7)

  7. Step 600

    600

    #8A45DE

    oklch(55.6% 0.22 299.8)

  8. Step 700

    700

    #7535C1

    oklch(49.1% 0.205 299.6)

  9. Step 800

    800

    #5F2D9C

    oklch(42.6% 0.17 299.7)

  10. Step 900

    900

    #4D2B7C

    oklch(37.7% 0.132 299.3)

  11. Step 950

    950

    #2D1A49

    oklch(27% 0.084 299.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA91FF 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)#72A5FF0.102
Deuteranopia (no green cones)#7AA5FC0.095
Tritanopia (no blue cones)#ADA4BC0.123
Achromatopsia (no color)#A6A6A60.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA91FF

    #BA91FF

    oklch(73.9% 0.159 299.7)

  • #9FB82F

    #9FB82F

    oklch(73.9% 0.158 119.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA91FF

    #BA91FF

    oklch(73.9% 0.159 299.7)

  • #89A5FF

    #89A5FF

    oklch(73.8% 0.134 269.8)

  • #E183DA

    #E183DA

    oklch(74% 0.158 329.8)

Open the analogous palette in the generator

Split complementary

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

  • #BA91FF

    #BA91FF

    oklch(73.9% 0.159 299.7)

  • #D0A500

    #D0A500

    oklch(74% 0.151 89.9)

  • #53C672

    #53C672

    oklch(74% 0.159 149.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA91FF

    #BA91FF

    oklch(73.9% 0.159 299.7)

  • #F28F2C

    #F28F2C

    oklch(74% 0.159 59.8)

  • #00C5AD

    #00C5AD

    oklch(73.8% 0.134 179.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA91FF

    #BA91FF

    oklch(73.9% 0.159 299.7)

  • #FF7F6D

    #FF7F6D

    oklch(73.9% 0.159 29.6)

  • #9FB82F

    #9FB82F

    oklch(73.9% 0.158 119.6)

  • #00C0D6

    #00C0D6

    oklch(74% 0.128 209.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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