#BA4FEB

Closest named color: Medium Orchid (#BA55D3). oklch(63.3% 0.233 313.2), rgb(186, 79, 235).

Aa

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

About this color

#BA4FEB is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.233 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.039 away. Black text reads best on it, at 5.40:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.233)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.40:1
White text3.88:1

Values

HEX#BA4FEB
RGBrgb(186, 79, 235)
HSLhsl(281, 80%, 62%)
OKLCHoklch(63.3% 0.233 313.2)

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 #BA4FEB 3.88:1 AA large text Lc -71.0 Content text, not long reading
Black text on #BA4FEB 5.40:1 AA Lc 38.6 Non-text elements, placeholder text
#BA4FEB text on white 3.88:1 AA large text Lc 65.5 Content text, not long reading
#BA4FEB text on black 5.40:1 AA Lc -36.2 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

    #F2E4FA

    oklch(93.6% 0.033 313.5)

  3. Step 200

    200

    #E8CDF7

    oklch(88.4% 0.064 313.5)

  4. Step 300

    300

    #DBABF5

    oklch(81% 0.114 313.4)

  5. Step 400

    400

    #C879F0

    oklch(70.7% 0.183 313.2)

  6. Step 500

    500 (this color)

    #BA4FEB

    oklch(63.3% 0.233 313.2)

  7. Step 600

    600

    #A524D8

    oklch(55.6% 0.253 313.3)

  8. Step 700

    700

    #8D10BC

    oklch(49.1% 0.236 313)

  9. Step 800

    800

    #731698

    oklch(42.8% 0.195 313.2)

  10. Step 900

    900

    #5D1D79

    oklch(37.7% 0.152 313.3)

  11. Step 950

    950

    #361347

    oklch(26.9% 0.097 312.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA4FEB 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)#007CF00.215
Deuteranopia (no green cones)#4484E70.192
Tritanopia (no blue cones)#B56E970.155
Achromatopsia (no color)#8181810.235

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA4FEB

    #BA4FEB

    oklch(63.3% 0.233 313.2)

  • #5B9F00

    #5B9F00

    oklch(63.2% 0.179 133.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA4FEB

    #BA4FEB

    oklch(63.3% 0.233 313.2)

  • #7E70FF

    #7E70FF

    oklch(63.2% 0.205 283.3)

  • #E137AE

    #E137AE

    oklch(63.3% 0.233 343)

Open the analogous palette in the generator

Split complementary

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

  • #BA4FEB

    #BA4FEB

    oklch(63.3% 0.233 313.2)

  • #998D00

    #998D00

    oklch(63.4% 0.134 103.5)

  • #00A372

    #00A372

    oklch(63.3% 0.136 163.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA4FEB

    #BA4FEB

    oklch(63.3% 0.233 313.2)

  • #BA7B00

    #BA7B00

    oklch(63.3% 0.134 73.4)

  • #009E9C

    #009E9C

    oklch(63.2% 0.108 193.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA4FEB

    #BA4FEB

    oklch(63.3% 0.233 313.2)

  • #E15900

    #E15900

    oklch(63.3% 0.186 43.5)

  • #5B9F00

    #5B9F00

    oklch(63.2% 0.179 133.1)

  • #0099BE

    #0099BE

    oklch(63.4% 0.118 223)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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