#BA37BD

Closest named color: Purpley Pink (#C83CB9). oklch(58.1% 0.222 327), rgb(186, 55, 189).

Aa

White text reads best on this color (4.80:1).

About this color

#BA37BD is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.222 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.031 away. White text reads best on it, at 4.80:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.222)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.36:1
White text4.80:1

Values

HEX#BA37BD
RGBrgb(186, 55, 189)
HSLhsl(299, 55%, 48%)
OKLCHoklch(58.1% 0.222 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 #BA37BD 4.80:1 AA Lc -77.7 Fine for body text
Black text on #BA37BD 4.36:1 AA large text Lc 31.9 Non-text elements, placeholder text
#BA37BD text on white 4.80:1 AA Lc 72.2 Content text, not long reading
#BA37BD text on black 4.36:1 AA large text Lc -29.5 Dividers and decoration only

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 600.

  1. Step 50

    50

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F5E3F4

    oklch(93.5% 0.03 327.5)

  3. Step 200

    200

    #EECDED

    oklch(88.6% 0.056 327)

  4. Step 300

    300

    #E3AAE2

    oklch(80.8% 0.099 327)

  5. Step 400

    400

    #D479D4

    oklch(70.7% 0.161 327.1)

  6. Step 500

    500

    #C651C8

    oklch(63% 0.204 327)

  7. Step 600

    600 (this color)

    #BA37BD

    oklch(58.1% 0.222 327)

  8. Step 700

    700

    #981D9B

    oklch(49% 0.206 327.1)

  9. Step 800

    800

    #7C1C7E

    oklch(42.7% 0.171 327.2)

  10. Step 900

    900

    #641F65

    oklch(37.6% 0.133 327.2)

  11. Step 950

    950

    #3B143B

    oklch(27% 0.084 327.6)

Export this scale for Tailwind in the Tailwind colors tool

#BA37BD 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)#1B67C10.235
Deuteranopia (no green cones)#5878BA0.199
Tritanopia (no blue cones)#BF4C770.125
Achromatopsia (no color)#7272720.224

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA37BD

    #BA37BD

    oklch(58.1% 0.222 327)

  • #009434

    #009434

    oklch(58.1% 0.173 146.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA37BD

    #BA37BD

    oklch(58.1% 0.222 327)

  • #8D4FEB

    #8D4FEB

    oklch(58.2% 0.223 297.2)

  • #D71F7C

    #D71F7C

    oklch(58.2% 0.222 357.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA37BD

    #BA37BD

    oklch(58.1% 0.222 327)

  • #768400

    #768400

    oklch(58.2% 0.134 116.9)

  • #008F79

    #008F79

    oklch(58.1% 0.108 176.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA37BD

    #BA37BD

    oklch(58.1% 0.222 327)

  • #997500

    #997500

    oklch(58.2% 0.119 87)

  • #008B99

    #008B99

    oklch(58.2% 0.1 207.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA37BD

    #BA37BD

    oklch(58.1% 0.222 327)

  • #B76100

    #B76100

    oklch(58.2% 0.141 57.2)

  • #009434

    #009434

    oklch(58.1% 0.173 146.9)

  • #0084BC

    #0084BC

    oklch(58.1% 0.127 237.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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