#BA8FF4

Closest named color: Liliac (#C48EFD). oklch(73% 0.148 302.5), rgb(186, 143, 244).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.148)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.32:1
White text2.52:1

Values

HEX#BA8FF4
RGBrgb(186, 143, 244)
HSLhsl(266, 82%, 76%)
OKLCHoklch(73% 0.148 302.5)

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 #BA8FF4 2.52:1 Fails Lc -54.4 Large or bold text, headings
Black text on #BA8FF4 8.32:1 AAA Lc 54.7 Large or bold text, headings
#BA8FF4 text on white 2.52:1 Fails Lc 49.3 Large or bold text, headings
#BA8FF4 text on black 8.32:1 AAA Lc -52.6 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

    #EDE6F9

    oklch(93.6% 0.026 302.6)

  3. Step 200

    200

    #DFD2F6

    oklch(88.5% 0.051 301.8)

  4. Step 300

    300

    #CCB3F3

    oklch(81% 0.092 302.3)

  5. Step 400

    400 (this color)

    #BA8FF4

    oklch(73% 0.148 302.5)

  6. Step 500

    500

    #A166E6

    oklch(63.1% 0.189 302.6)

  7. Step 600

    600

    #8C49D4

    oklch(55.6% 0.205 302.3)

  8. Step 700

    700

    #7738B8

    oklch(49% 0.192 302.3)

  9. Step 800

    800

    #613095

    oklch(42.7% 0.159 302.4)

  10. Step 900

    900

    #4F2C76

    oklch(37.6% 0.123 302.7)

  11. Step 950

    950

    #2E1B45

    oklch(27% 0.077 302.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA8FF4 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)#75A2F80.099
Deuteranopia (no green cones)#7FA3F10.091
Tritanopia (no blue cones)#B0A0B60.113
Achromatopsia (no color)#A3A3A30.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA8FF4

    #BA8FF4

    oklch(73% 0.148 302.5)

  • #97B640

    #97B640

    oklch(73% 0.148 122.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA8FF4

    #BA8FF4

    oklch(73% 0.148 302.5)

  • #8AA0FF

    #8AA0FF

    oklch(72.9% 0.14 272.6)

  • #DD82D0

    #DD82D0

    oklch(72.9% 0.148 332.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA8FF4

    #BA8FF4

    oklch(73% 0.148 302.5)

  • #C8A408

    #C8A408

    oklch(73% 0.148 92.8)

  • #51C279

    #51C279

    oklch(73% 0.148 152.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA8FF4

    #BA8FF4

    oklch(73% 0.148 302.5)

  • #E89032

    #E89032

    oklch(73% 0.148 62.7)

  • #00C2AF

    #00C2AF

    oklch(73.1% 0.13 182.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA8FF4

    #BA8FF4

    oklch(73% 0.148 302.5)

  • #F6816A

    #F6816A

    oklch(73% 0.148 32.4)

  • #97B640

    #97B640

    oklch(73% 0.148 122.7)

  • #00BCD7

    #00BCD7

    oklch(73% 0.128 212.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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