#BA5ABB

Closest named color: Pinky Purple (#C94CBE). oklch(61.9% 0.172 327), rgb(186, 90, 187).

Aa

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

About this color

#BA5ABB is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.172 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.036 away. Black text reads best on it, at 5.26:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.172)
Temperaturein between
Nearest namePinky Purple (#C94CBE)
Black text5.26:1
White text3.98:1

Values

HEX#BA5ABB
RGBrgb(186, 90, 187)
HSLhsl(299, 42%, 54%)
OKLCHoklch(61.9% 0.172 327)

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 #BA5ABB 3.98:1 AA large text Lc -72.2 Content text, not long reading
Black text on #BA5ABB 5.26:1 AA Lc 37.4 Non-text elements, placeholder text
#BA5ABB text on white 3.98:1 AA large text Lc 66.7 Content text, not long reading
#BA5ABB text on black 5.26:1 AA Lc -35.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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F3E4F3

    oklch(93.5% 0.026 325.8)

  3. Step 200

    200

    #EBCFEA

    oklch(88.6% 0.047 327.1)

  4. Step 300

    300

    #DEAEDD

    oklch(80.9% 0.084 327)

  5. Step 400

    400

    #CC81CC

    oklch(70.7% 0.134 326.9)

  6. Step 500

    500 (this color)

    #BA5ABB

    oklch(61.9% 0.172 327)

  7. Step 600

    600

    #A940AB

    oklch(55.6% 0.188 327)

  8. Step 700

    700

    #913193

    oklch(49.2% 0.174 327)

  9. Step 800

    800

    #762A77

    oklch(42.8% 0.144 327.2)

  10. Step 900

    900

    #5F2760

    oklch(37.6% 0.113 326.9)

  11. Step 950

    950

    #381838

    oklch(27% 0.071 327.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA5ABB 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)#5077BE0.170
Deuteranopia (no green cones)#6E84B80.150
Tritanopia (no blue cones)#BF65820.099
Achromatopsia (no color)#7F7F7F0.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA5ABB

    #BA5ABB

    oklch(61.9% 0.172 327)

  • #1FA041

    #1FA041

    oklch(61.9% 0.172 147.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA5ABB

    #BA5ABB

    oklch(61.9% 0.172 327)

  • #936ADF

    #936ADF

    oklch(61.9% 0.172 297.3)

  • #D25087

    #D25087

    oklch(61.9% 0.172 357.1)

Open the analogous palette in the generator

Split complementary

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

  • #BA5ABB

    #BA5ABB

    oklch(61.9% 0.172 327)

  • #819000

    #819000

    oklch(62% 0.143 116.9)

  • #009C85

    #009C85

    oklch(61.9% 0.115 177.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA5ABB

    #BA5ABB

    oklch(61.9% 0.172 327)

  • #A78000

    #A78000

    oklch(62% 0.127 87.1)

  • #0097A6

    #0097A6

    oklch(61.8% 0.106 207.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA5ABB

    #BA5ABB

    oklch(61.9% 0.172 327)

  • #C76A00

    #C76A00

    oklch(61.9% 0.15 57.2)

  • #1FA041

    #1FA041

    oklch(61.9% 0.172 147.1)

  • #0090CC

    #0090CC

    oklch(61.9% 0.135 236.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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