#BA8CEB

Closest named color: Liliac (#C48EFD). oklch(72% 0.142 305.4), rgb(186, 140, 235).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.142)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.03:1
White text2.61:1

Values

HEX#BA8CEB
RGBrgb(186, 140, 235)
HSLhsl(269, 70%, 74%)
OKLCHoklch(72% 0.142 305.4)

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 #BA8CEB 2.61:1 Fails Lc -56.0 Large or bold text, headings
Black text on #BA8CEB 8.03:1 AAA Lc 53.2 Large or bold text, headings
#BA8CEB text on white 2.61:1 Fails Lc 50.8 Large or bold text, headings
#BA8CEB text on black 8.03:1 AAA Lc -51.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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  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

    #CEB2EF

    oklch(80.8% 0.089 305.4)

  5. Step 400

    400 (this color)

    #BA8CEB

    oklch(72% 0.142 305.4)

  6. Step 500

    500

    #A466DF

    oklch(63% 0.182 305.5)

  7. Step 600

    600

    #904ACD

    oklch(55.7% 0.197 305.5)

  8. Step 700

    700

    #7A3AB1

    oklch(49.1% 0.182 305.3)

  9. Step 800

    800

    #63318F

    oklch(42.6% 0.151 305.3)

  10. Step 900

    900

    #512D72

    oklch(37.8% 0.117 305.6)

  11. Step 950

    950

    #2F1B43

    oklch(27% 0.074 305)

Export this scale for Tailwind in the Tailwind colors tool

#BA8CEB 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)#769FEF0.099
Deuteranopia (no green cones)#80A0E80.092
Tritanopia (no blue cones)#B29BB00.106
Achromatopsia (no color)#A0A0A00.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA8CEB

    #BA8CEB

    oklch(72% 0.142 305.4)

  • #90B448

    #90B448

    oklch(72.1% 0.142 125.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA8CEB

    #BA8CEB

    oklch(72% 0.142 305.4)

  • #8C9CFC

    #8C9CFC

    oklch(72.1% 0.141 275.1)

  • #DB80C7

    #DB80C7

    oklch(72% 0.142 335.6)

Open the analogous palette in the generator

Split complementary

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

  • #BA8CEB

    #BA8CEB

    oklch(72% 0.142 305.4)

  • #C0A31C

    #C0A31C

    oklch(72% 0.142 95.5)

  • #4BBE7D

    #4BBE7D

    oklch(71.9% 0.142 155.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA8CEB

    #BA8CEB

    oklch(72% 0.142 305.4)

  • #E09033

    #E09033

    oklch(72% 0.141 65.4)

  • #00BEB0

    #00BEB0

    oklch(72.1% 0.127 185.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA8CEB

    #BA8CEB

    oklch(72% 0.142 305.4)

  • #EF8165

    #EF8165

    oklch(72% 0.142 35.3)

  • #90B448

    #90B448

    oklch(72.1% 0.142 125.3)

  • #00B8D7

    #00B8D7

    oklch(72.1% 0.128 215.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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