#BA5ABA

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

Aa

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

About this color

#BA5ABA 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.25:1.

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

Values

HEX#BA5ABA
RGBrgb(186, 90, 186)
HSLhsl(300, 41%, 54%)
OKLCHoklch(61.9% 0.172 327.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 #BA5ABA 3.99:1 AA large text Lc -72.3 Content text, not long reading
Black text on #BA5ABA 5.25:1 AA Lc 37.3 Non-text elements, placeholder text
#BA5ABA text on white 3.99:1 AA large text Lc 66.8 Content text, not long reading
#BA5ABA text on black 5.25:1 AA Lc -34.9 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

    #F3E4F2

    oklch(93.5% 0.025 327.8)

  3. Step 200

    200

    #EBCFE9

    oklch(88.6% 0.046 328.2)

  4. Step 300

    300

    #DEAEDD

    oklch(80.9% 0.084 327)

  5. Step 400

    400

    #CD81CB

    oklch(70.7% 0.134 327.8)

  6. Step 500

    500 (this color)

    #BA5ABA

    oklch(61.9% 0.172 327.4)

  7. Step 600

    600

    #A940AA

    oklch(55.5% 0.187 327.4)

  8. Step 700

    700

    #913192

    oklch(49.1% 0.174 327.4)

  9. Step 800

    800

    #762A76

    oklch(42.7% 0.143 327.7)

  10. Step 900

    900

    #5F2860

    oklch(37.7% 0.111 326.8)

  11. Step 950

    950

    #381838

    oklch(27% 0.071 327.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA5ABA 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)#5177BD0.169
Deuteranopia (no green cones)#6E84B70.151
Tritanopia (no blue cones)#BF65820.097
Achromatopsia (no color)#7F7F7F0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA5ABA

    #BA5ABA

    oklch(61.9% 0.172 327.4)

  • #1EA042

    #1EA042

    oklch(61.9% 0.171 147.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA5ABA

    #BA5ABA

    oklch(61.9% 0.172 327.4)

  • #936ADE

    #936ADE

    oklch(61.9% 0.171 297.5)

  • #D25086

    #D25086

    oklch(61.8% 0.171 357.6)

Open the analogous palette in the generator

Split complementary

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

  • #BA5ABA

    #BA5ABA

    oklch(61.9% 0.172 327.4)

  • #809000

    #809000

    oklch(61.9% 0.143 117.3)

  • #009C85

    #009C85

    oklch(61.9% 0.115 177.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA5ABA

    #BA5ABA

    oklch(61.9% 0.172 327.4)

  • #A68000

    #A68000

    oklch(61.9% 0.127 87.6)

  • #0097A6

    #0097A6

    oklch(61.8% 0.106 207.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA5ABA

    #BA5ABA

    oklch(61.9% 0.172 327.4)

  • #C66A00

    #C66A00

    oklch(61.8% 0.149 57.5)

  • #1EA042

    #1EA042

    oklch(61.9% 0.171 147.4)

  • #0090CD

    #0090CD

    oklch(61.9% 0.136 237.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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