#BA90FF

Closest named color: Liliac (#C48EFD). oklch(73.7% 0.16 299.9), rgb(186, 144, 255).

Aa

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

About this color

#BA90FF is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.160 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.52:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.160)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.52:1
White text2.46:1

Values

HEX#BA90FF
RGBrgb(186, 144, 255)
HSLhsl(263, 100%, 78%)
OKLCHoklch(73.7% 0.16 299.9)

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 #BA90FF 2.46:1 Fails Lc -53.3 Large or bold text, headings
Black text on #BA90FF 8.52:1 AAA Lc 55.7 Large or bold text, headings
#BA90FF text on white 2.46:1 Fails Lc 48.3 Large or bold text, headings
#BA90FF text on black 8.52:1 AAA Lc -53.7 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

    #DED1F9

    oklch(88.4% 0.056 300.1)

  4. Step 300

    300

    #CAB2F8

    oklch(80.8% 0.1 299.9)

  5. Step 400

    400 (this color)

    #BA90FF

    oklch(73.7% 0.16 299.9)

  6. Step 500

    500

    #9E63F0

    oklch(63% 0.204 299.8)

  7. Step 600

    600

    #8A44DF

    oklch(55.6% 0.223 299.7)

  8. Step 700

    700

    #7634C1

    oklch(49.1% 0.206 300.1)

  9. Step 800

    800

    #602D9C

    oklch(42.8% 0.171 300.2)

  10. Step 900

    900

    #4E2A7C

    oklch(37.7% 0.133 300.2)

  11. Step 950

    950

    #2D1A49

    oklch(27% 0.084 299.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA90FF 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)#70A5FF0.105
Deuteranopia (no green cones)#79A4FC0.096
Tritanopia (no blue cones)#ADA3BB0.125
Achromatopsia (no color)#A5A5A50.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA90FF

    #BA90FF

    oklch(73.7% 0.16 299.9)

  • #9EB82C

    #9EB82C

    oklch(73.8% 0.16 119.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA90FF

    #BA90FF

    oklch(73.7% 0.16 299.9)

  • #89A5FF

    #89A5FF

    oklch(73.8% 0.134 269.8)

  • #E182DA

    #E182DA

    oklch(73.8% 0.16 329.8)

Open the analogous palette in the generator

Split complementary

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

  • #BA90FF

    #BA90FF

    oklch(73.7% 0.16 299.9)

  • #CFA400

    #CFA400

    oklch(73.7% 0.151 89.8)

  • #50C571

    #50C571

    oklch(73.6% 0.16 149.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA90FF

    #BA90FF

    oklch(73.7% 0.16 299.9)

  • #F18E28

    #F18E28

    oklch(73.7% 0.16 60.2)

  • #00C5AD

    #00C5AD

    oklch(73.8% 0.134 179.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA90FF

    #BA90FF

    oklch(73.7% 0.16 299.9)

  • #FF7E6B

    #FF7E6B

    oklch(73.8% 0.161 30)

  • #9EB82C

    #9EB82C

    oklch(73.8% 0.16 119.9)

  • #00BFD6

    #00BFD6

    oklch(73.7% 0.127 210)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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