#BA89EA

Closest named color: Liliac (#C48EFD). oklch(71.5% 0.145 306.3), rgb(186, 137, 234).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.145)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text7.85:1
White text2.67:1

Values

HEX#BA89EA
RGBrgb(186, 137, 234)
HSLhsl(270, 70%, 73%)
OKLCHoklch(71.5% 0.145 306.3)

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 #BA89EA 2.67:1 Fails Lc -57.0 Large or bold text, headings
Black text on #BA89EA 7.85:1 AAA Lc 52.2 Large or bold text, headings
#BA89EA text on white 2.67:1 Fails Lc 51.8 Large or bold text, headings
#BA89EA text on black 7.85:1 AAA Lc -50.1 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

    #F7F3FC

    oklch(97% 0.013 306)

  2. Step 100

    100

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E1D1F4

    oklch(88.4% 0.05 306)

  4. Step 300

    300

    #CFB2EF

    oklch(80.9% 0.09 306.1)

  5. Step 400

    400 (this color)

    #BA89EA

    oklch(71.5% 0.145 306.3)

  6. Step 500

    500

    #A665E0

    oklch(63.1% 0.185 306.2)

  7. Step 600

    600

    #9247CE

    oklch(55.6% 0.202 306.4)

  8. Step 700

    700

    #7C37B2

    oklch(49.1% 0.188 306.3)

  9. Step 800

    800

    #652F90

    oklch(42.7% 0.155 306.5)

  10. Step 900

    900

    #522B73

    oklch(37.6% 0.122 306.4)

  11. Step 950

    950

    #301A43

    oklch(26.9% 0.077 306.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA89EA 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)#729CEE0.104
Deuteranopia (no green cones)#7E9FE70.097
Tritanopia (no blue cones)#B398AE0.107
Achromatopsia (no color)#9E9E9E0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA89EA

    #BA89EA

    oklch(71.5% 0.145 306.3)

  • #8CB344

    #8CB344

    oklch(71.5% 0.146 126.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA89EA

    #BA89EA

    oklch(71.5% 0.145 306.3)

  • #8C99FC

    #8C99FC

    oklch(71.5% 0.144 276.4)

  • #DB7DC5

    #DB7DC5

    oklch(71.5% 0.146 336.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA89EA

    #BA89EA

    oklch(71.5% 0.145 306.3)

  • #BEA20B

    #BEA20B

    oklch(71.6% 0.146 96.4)

  • #42BD7C

    #42BD7C

    oklch(71.4% 0.145 156.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA89EA

    #BA89EA

    oklch(71.5% 0.145 306.3)

  • #DF8E29

    #DF8E29

    oklch(71.5% 0.145 66.2)

  • #00BCAF

    #00BCAF

    oklch(71.6% 0.125 186.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA89EA

    #BA89EA

    oklch(71.5% 0.145 306.3)

  • #EF7F60

    #EF7F60

    oklch(71.6% 0.145 36.4)

  • #8CB344

    #8CB344

    oklch(71.5% 0.146 126.3)

  • #00B6D6

    #00B6D6

    oklch(71.5% 0.127 216.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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