#BA4CEF

Closest named color: Lighter Purple (#A55AF4). oklch(63.2% 0.241 312.5), rgb(186, 76, 239).

Aa

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

About this color

#BA4CEF is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.241 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.043 away. Black text reads best on it, at 5.36:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.241)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.36:1
White text3.91:1

Values

HEX#BA4CEF
RGBrgb(186, 76, 239)
HSLhsl(280, 84%, 62%)
OKLCHoklch(63.2% 0.241 312.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 #BA4CEF 3.91:1 AA large text Lc -71.2 Content text, not long reading
Black text on #BA4CEF 5.36:1 AA Lc 38.4 Non-text elements, placeholder text
#BA4CEF text on white 3.91:1 AA large text Lc 65.7 Content text, not long reading
#BA4CEF text on black 5.36:1 AA Lc -36.0 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F2E4FB

    oklch(93.7% 0.034 312.4)

  3. Step 200

    200

    #E8CDF9

    oklch(88.5% 0.066 312.4)

  4. Step 300

    300

    #DBAAF7

    oklch(80.9% 0.118 312.8)

  5. Step 400

    400

    #C878F3

    oklch(70.7% 0.188 312.5)

  6. Step 500

    500 (this color)

    #BA4CEF

    oklch(63.2% 0.241 312.5)

  7. Step 600

    600

    #A51DDD

    oklch(55.6% 0.262 312.4)

  8. Step 700

    700

    #8E04C0

    oklch(49.2% 0.244 312.5)

  9. Step 800

    800

    #73109B

    oklch(42.7% 0.202 312.5)

  10. Step 900

    900

    #5D1B7B

    oklch(37.7% 0.157 312.6)

  11. Step 950

    950

    #361248

    oklch(26.9% 0.099 312.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA4CEF 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)#007BF40.216
Deuteranopia (no green cones)#3C83EB0.199
Tritanopia (no blue cones)#B46E980.161
Achromatopsia (no color)#8181810.242

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA4CEF

    #BA4CEF

    oklch(63.2% 0.241 312.5)

  • #5E9F00

    #5E9F00

    oklch(63.4% 0.177 132.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA4CEF

    #BA4CEF

    oklch(63.2% 0.241 312.5)

  • #7C71FF

    #7C71FF

    oklch(63.2% 0.204 282.4)

  • #E331B0

    #E331B0

    oklch(63.3% 0.241 342.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA4CEF

    #BA4CEF

    oklch(63.2% 0.241 312.5)

  • #9A8C00

    #9A8C00

    oklch(63.3% 0.133 102.4)

  • #00A370

    #00A370

    oklch(63.2% 0.138 162.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA4CEF

    #BA4CEF

    oklch(63.2% 0.241 312.5)

  • #BB7A00

    #BB7A00

    oklch(63.2% 0.135 72.2)

  • #009E9B

    #009E9B

    oklch(63.2% 0.108 192.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA4CEF

    #BA4CEF

    oklch(63.2% 0.241 312.5)

  • #E25700

    #E25700

    oklch(63.2% 0.188 42.6)

  • #5E9F00

    #5E9F00

    oklch(63.4% 0.177 132.5)

  • #0099BD

    #0099BD

    oklch(63.3% 0.117 222.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #BA4CEF.

Similar named colors

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

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