#BA8CFC

Closest named color: Liliac (#C48EFD). oklch(72.9% 0.163 301.4), rgb(186, 140, 252).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.163)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.24:1
White text2.54:1

Values

HEX#BA8CFC
RGBrgb(186, 140, 252)
HSLhsl(265, 95%, 77%)
OKLCHoklch(72.9% 0.163 301.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 #BA8CFC 2.54:1 Fails Lc -54.8 Large or bold text, headings
Black text on #BA8CFC 8.24:1 AAA Lc 54.3 Large or bold text, headings
#BA8CFC text on white 2.54:1 Fails Lc 49.7 Large or bold text, headings
#BA8CFC text on black 8.24:1 AAA Lc -52.2 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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1F9

    oklch(88.5% 0.056 301.2)

  4. Step 300

    300

    #CCB1F8

    oklch(80.8% 0.102 301.6)

  5. Step 400

    400 (this color)

    #BA8CFC

    oklch(72.9% 0.163 301.4)

  6. Step 500

    500

    #A161F0

    oklch(63% 0.208 301.3)

  7. Step 600

    600

    #8D41DF

    oklch(55.6% 0.226 301.2)

  8. Step 700

    700

    #7831C1

    oklch(49.1% 0.21 301.3)

  9. Step 800

    800

    #622B9C

    oklch(42.7% 0.173 301.6)

  10. Step 900

    900

    #4F297C

    oklch(37.6% 0.135 301.2)

  11. Step 950

    950

    #2E1949

    oklch(26.9% 0.086 300.9)

Export this scale for Tailwind in the Tailwind colors tool

#BA8CFC 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)#6CA2FF0.110
Deuteranopia (no green cones)#77A2F90.101
Tritanopia (no blue cones)#AEA0B80.126
Achromatopsia (no color)#A2A2A20.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA8CFC

    #BA8CFC

    oklch(72.9% 0.163 301.4)

  • #98B628

    #98B628

    oklch(72.9% 0.163 121.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA8CFC

    #BA8CFC

    oklch(72.9% 0.163 301.4)

  • #88A1FF

    #88A1FF

    oklch(73% 0.14 271.3)

  • #E17ED5

    #E17ED5

    oklch(73% 0.162 331.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA8CFC

    #BA8CFC

    oklch(72.9% 0.163 301.4)

  • #CAA300

    #CAA300

    oklch(73% 0.149 91.5)

  • #45C371

    #45C371

    oklch(72.8% 0.162 151.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA8CFC

    #BA8CFC

    oklch(72.9% 0.163 301.4)

  • #EE8C19

    #EE8C19

    oklch(72.9% 0.162 61.8)

  • #00C2AD

    #00C2AD

    oklch(73% 0.131 181.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA8CFC

    #BA8CFC

    oklch(72.9% 0.163 301.4)

  • #FD7B65

    #FD7B65

    oklch(72.9% 0.163 31.2)

  • #98B628

    #98B628

    oklch(72.9% 0.163 121.4)

  • #00BCD5

    #00BCD5

    oklch(73% 0.127 211.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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