#BA5B9B

Closest named color: Soft Purple (#A66FB5). oklch(60.6% 0.144 341.4), rgb(186, 91, 155).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (61%)
Chromavivid (0.144)
Temperaturewarm
Nearest nameSoft Purple (#A66FB5)
Black text5.05:1
White text4.15:1

Values

HEX#BA5B9B
RGBrgb(186, 91, 155)
HSLhsl(320, 41%, 54%)
OKLCHoklch(60.6% 0.144 341.4)

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 #BA5B9B 4.15:1 AA large text Lc -73.6 Content text, not long reading
Black text on #BA5B9B 5.05:1 AA Lc 35.9 Non-text elements, placeholder text
#BA5B9B text on white 4.15:1 AA large text Lc 68.1 Content text, not long reading
#BA5B9B text on black 5.05:1 AA Lc -33.5 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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F4E5EE

    oklch(93.6% 0.02 340.7)

  3. Step 200

    200

    #ECCFE1

    oklch(88.4% 0.04 340.3)

  4. Step 300

    300

    #E1AFCE

    oklch(80.9% 0.071 341.1)

  5. Step 400

    400

    #D084B5

    oklch(70.7% 0.112 341.3)

  6. Step 500

    500 (this color)

    #BA5B9B

    oklch(60.6% 0.144 341.4)

  7. Step 600

    600

    #AD478E

    oklch(55.6% 0.157 341.1)

  8. Step 700

    700

    #953878

    oklch(49.2% 0.145 341.8)

  9. Step 800

    800

    #792F62

    oklch(42.8% 0.121 341.5)

  10. Step 900

    900

    #622B50

    oklch(37.8% 0.094 341.6)

  11. Step 950

    950

    #391A2F

    oklch(27% 0.058 340.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA5B9B 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)#60739D0.152
Deuteranopia (no green cones)#7A82990.137
Tritanopia (no blue cones)#C45C740.064
Achromatopsia (no color)#7C7C7C0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA5B9B

    #BA5B9B

    oklch(60.6% 0.144 341.4)

  • #009A68

    #009A68

    oklch(60.6% 0.134 161.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA5B9B

    #BA5B9B

    oklch(60.6% 0.144 341.4)

  • #9E66C1

    #9E66C1

    oklch(60.7% 0.145 311.1)

  • #C8586C

    #C8586C

    oklch(60.6% 0.143 11.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA5B9B

    #BA5B9B

    oklch(60.6% 0.144 341.4)

  • #62932A

    #62932A

    oklch(60.7% 0.144 131.3)

  • #009591

    #009591

    oklch(60.5% 0.104 191.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA5B9B

    #BA5B9B

    oklch(60.6% 0.144 341.4)

  • #928300

    #928300

    oklch(60.5% 0.126 101.3)

  • #0090B1

    #0090B1

    oklch(60.5% 0.112 221.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA5B9B

    #BA5B9B

    oklch(60.6% 0.144 341.4)

  • #B27300

    #B27300

    oklch(60.8% 0.13 71.6)

  • #009A68

    #009A68

    oklch(60.6% 0.134 161.5)

  • #3485D5

    #3485D5

    oklch(60.6% 0.145 251.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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