#BA5ECA

Closest named color: Medium Orchid (#BA55D3). oklch(63.2% 0.18 321.5), rgb(186, 94, 202).

Aa

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

About this color

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

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

Values

HEX#BA5ECA
RGBrgb(186, 94, 202)
HSLhsl(291, 50%, 58%)
OKLCHoklch(63.2% 0.18 321.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 #BA5ECA 3.78:1 AA large text Lc -70.5 Content text, not long reading
Black text on #BA5ECA 5.54:1 AA Lc 39.1 Non-text elements, placeholder text
#BA5ECA text on white 3.78:1 AA large text Lc 65.0 Content text, not long reading
#BA5ECA text on black 5.54:1 AA Lc -36.7 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F4

    oklch(93.7% 0.024 321.7)

  3. Step 200

    200

    #E9CFED

    oklch(88.5% 0.049 321.7)

  4. Step 300

    300

    #DCAEE3

    oklch(80.9% 0.089 321.9)

  5. Step 400

    400

    #C981D5

    oklch(70.7% 0.141 321.7)

  6. Step 500

    500 (this color)

    #BA5ECA

    oklch(63.2% 0.18 321.5)

  7. Step 600

    600

    #A53FB6

    oklch(55.6% 0.197 321.7)

  8. Step 700

    700

    #8D309D

    oklch(49.1% 0.182 321.4)

  9. Step 800

    800

    #732A7F

    oklch(42.8% 0.15 321.7)

  10. Step 900

    900

    #5D2766

    oklch(37.7% 0.118 321.7)

  11. Step 950

    950

    #37183C

    oklch(27.1% 0.075 321.9)

Export this scale for Tailwind in the Tailwind colors tool

#BA5ECA 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)#4C7CCE0.170
Deuteranopia (no green cones)#6987C70.151
Tritanopia (no blue cones)#BC6D8B0.111
Achromatopsia (no color)#8383830.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA5ECA

    #BA5ECA

    oklch(63.2% 0.18 321.5)

  • #3CA32F

    #3CA32F

    oklch(63.2% 0.18 141.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA5ECA

    #BA5ECA

    oklch(63.2% 0.18 321.5)

  • #8E70EC

    #8E70EC

    oklch(63.3% 0.18 291.6)

  • #D65296

    #D65296

    oklch(63.2% 0.179 351.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA5ECA

    #BA5ECA

    oklch(63.2% 0.18 321.5)

  • #8D9100

    #8D9100

    oklch(63.2% 0.14 111.7)

  • #00A181

    #00A181

    oklch(63.2% 0.122 172)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA5ECA

    #BA5ECA

    oklch(63.2% 0.18 321.5)

  • #B18000

    #B18000

    oklch(63.2% 0.13 81.5)

  • #009DA5

    #009DA5

    oklch(63.3% 0.108 201.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA5ECA

    #BA5ECA

    oklch(63.2% 0.18 321.5)

  • #D46600

    #D46600

    oklch(63.2% 0.164 51.4)

  • #3CA32F

    #3CA32F

    oklch(63.2% 0.18 141.5)

  • #0096C9

    #0096C9

    oklch(63.2% 0.128 231.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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