#BA90EE

Closest named color: Liliac (#C48EFD). oklch(72.9% 0.139 303.7), rgb(186, 144, 238).

Aa

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

About this color

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

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

Values

HEX#BA90EE
RGBrgb(186, 144, 238)
HSLhsl(267, 73%, 75%)
OKLCHoklch(72.9% 0.139 303.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 #BA90EE 2.52:1 Fails Lc -54.5 Large or bold text, headings
Black text on #BA90EE 8.31:1 AAA Lc 54.6 Large or bold text, headings
#BA90EE text on white 2.52:1 Fails Lc 49.4 Large or bold text, headings
#BA90EE text on black 8.31:1 AAA Lc -52.5 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

    #E0D2F4

    oklch(88.6% 0.048 304.1)

  4. Step 300

    300

    #CCB3EF

    oklch(80.8% 0.087 303.5)

  5. Step 400

    400 (this color)

    #BA90EE

    oklch(72.9% 0.139 303.7)

  6. Step 500

    500

    #A168DF

    oklch(63% 0.178 303.8)

  7. Step 600

    600

    #8C4CCD

    oklch(55.5% 0.193 303.5)

  8. Step 700

    700

    #773CB1

    oklch(49% 0.179 303.6)

  9. Step 800

    800

    #613390

    oklch(42.8% 0.149 303.4)

  10. Step 900

    900

    #4F2E73

    oklch(37.8% 0.116 303.4)

  11. Step 950

    950

    #2E1C43

    oklch(27% 0.072 303.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA90EE 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)#7AA2F20.093
Deuteranopia (no green cones)#83A3EB0.087
Tritanopia (no blue cones)#B19FB40.105
Achromatopsia (no color)#A3A3A30.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA90EE

    #BA90EE

    oklch(72.9% 0.139 303.7)

  • #96B54B

    #96B54B

    oklch(72.8% 0.138 123.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA90EE

    #BA90EE

    oklch(72.9% 0.139 303.7)

  • #8C9FFE

    #8C9FFE

    oklch(72.8% 0.14 273.9)

  • #DB84CB

    #DB84CB

    oklch(72.8% 0.139 333.9)

Open the analogous palette in the generator

Split complementary

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

  • #BA90EE

    #BA90EE

    oklch(72.9% 0.139 303.7)

  • #C4A526

    #C4A526

    oklch(72.9% 0.139 94.2)

  • #56C07E

    #56C07E

    oklch(72.8% 0.138 153.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA90EE

    #BA90EE

    oklch(72.9% 0.139 303.7)

  • #E3923C

    #E3923C

    oklch(72.8% 0.139 63.7)

  • #00C1B0

    #00C1B0

    oklch(72.9% 0.129 183.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA90EE

    #BA90EE

    oklch(72.9% 0.139 303.7)

  • #F1846C

    #F1846C

    oklch(72.8% 0.139 33.5)

  • #96B54B

    #96B54B

    oklch(72.8% 0.138 123.5)

  • #00BBD8

    #00BBD8

    oklch(72.8% 0.128 214)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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