#BA5BA1

Closest named color: Soft Purple (#A66FB5). oklch(60.9% 0.149 338.3), rgb(186, 91, 161).

Aa

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

About this color

#BA5BA1 is a medium-dark, vivid pink. In OKLCH its lightness is 61%, its chroma 0.149 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.056 away. Black text reads best on it, at 5.09:1.

Hue familyPinks
Lightnessmedium-dark (61%)
Chromavivid (0.149)
Temperaturewarm
Nearest nameSoft Purple (#A66FB5)
Black text5.09:1
White text4.11:1

Values

HEX#BA5BA1
RGBrgb(186, 91, 161)
HSLhsl(316, 41%, 54%)
OKLCHoklch(60.9% 0.149 338.3)

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 #BA5BA1 4.11:1 AA large text Lc -73.4 Content text, not long reading
Black text on #BA5BA1 5.09:1 AA Lc 36.2 Non-text elements, placeholder text
#BA5BA1 text on white 4.11:1 AA large text Lc 67.9 Content text, not long reading
#BA5BA1 text on black 5.09:1 AA Lc -33.8 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E5EF

    oklch(93.7% 0.021 337.7)

  3. Step 200

    200

    #ECCFE2

    oklch(88.4% 0.041 338.7)

  4. Step 300

    300

    #E1AFD1

    oklch(81% 0.073 338.4)

  5. Step 400

    400

    #D083B9

    oklch(70.7% 0.117 338.7)

  6. Step 500

    500 (this color)

    #BA5BA1

    oklch(60.9% 0.149 338.3)

  7. Step 600

    600

    #AC4693

    oklch(55.5% 0.161 338.2)

  8. Step 700

    700

    #94377D

    oklch(49.2% 0.15 338.6)

  9. Step 800

    800

    #782E66

    oklch(42.7% 0.125 338.2)

  10. Step 900

    900

    #612A53

    oklch(37.7% 0.097 338.1)

  11. Step 950

    950

    #391931

    oklch(26.9% 0.062 337.5)

Export this scale for Tailwind in the Tailwind colors tool

#BA5BA1 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)#5E74A30.155
Deuteranopia (no green cones)#78829E0.139
Tritanopia (no blue cones)#C35E770.070
Achromatopsia (no color)#7D7D7D0.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA5BA1

    #BA5BA1

    oklch(60.9% 0.149 338.3)

  • #009B62

    #009B62

    oklch(60.8% 0.141 158.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA5BA1

    #BA5BA1

    oklch(60.9% 0.149 338.3)

  • #9C67C6

    #9C67C6

    oklch(60.9% 0.148 308.4)

  • #CA5671

    #CA5671

    oklch(60.8% 0.149 8.2)

Open the analogous palette in the generator

Split complementary

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

  • #BA5BA1

    #BA5BA1

    oklch(60.9% 0.149 338.3)

  • #68931C

    #68931C

    oklch(61% 0.149 128.3)

  • #00978F

    #00978F

    oklch(61% 0.106 188.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA5BA1

    #BA5BA1

    oklch(60.9% 0.149 338.3)

  • #978300

    #978300

    oklch(61% 0.126 98.4)

  • #0092AF

    #0092AF

    oklch(60.9% 0.11 218.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA5BA1

    #BA5BA1

    oklch(60.9% 0.149 338.3)

  • #B67100

    #B67100

    oklch(60.9% 0.133 68.3)

  • #009B62

    #009B62

    oklch(60.8% 0.141 158.6)

  • #2587D7

    #2587D7

    oklch(60.8% 0.149 248.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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