#BA4EB2

Closest named color: Pinky Purple (#C94CBE). oklch(59.9% 0.183 330.5), rgb(186, 78, 178).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.183)
Temperaturein between
Nearest namePinky Purple (#C94CBE)
Black text4.82:1
White text4.35:1

Values

HEX#BA4EB2
RGBrgb(186, 78, 178)
HSLhsl(304, 44%, 52%)
OKLCHoklch(59.9% 0.183 330.5)

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 #BA4EB2 4.35:1 AA large text Lc -75.0 Fine for body text
Black text on #BA4EB2 4.82:1 AA Lc 34.6 Non-text elements, placeholder text
#BA4EB2 text on white 4.35:1 AA large text Lc 69.5 Content text, not long reading
#BA4EB2 text on black 4.82:1 AA Lc -32.1 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

    #F5E4F2

    oklch(93.6% 0.026 331.5)

  3. Step 200

    200

    #EDCEE9

    oklch(88.5% 0.05 330.2)

  4. Step 300

    300

    #E3ACDC

    oklch(81% 0.09 330.7)

  5. Step 400

    400

    #D27DCA

    oklch(70.6% 0.143 330.4)

  6. Step 500

    500 (this color)

    #BA4EB2

    oklch(59.9% 0.183 330.5)

  7. Step 600

    600

    #B038A8

    oklch(55.6% 0.199 330.7)

  8. Step 700

    700

    #972990

    oklch(49.1% 0.185 330.7)

  9. Step 800

    800

    #7A2475

    oklch(42.6% 0.153 330.3)

  10. Step 900

    900

    #63245E

    oklch(37.7% 0.119 330.9)

  11. Step 950

    950

    #3A1637

    oklch(26.9% 0.075 330.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA4EB2 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)#476FB50.188
Deuteranopia (no green cones)#6A7EAF0.164
Tritanopia (no blue cones)#C158790.098
Achromatopsia (no color)#7979790.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA4EB2

    #BA4EB2

    oklch(59.9% 0.183 330.5)

  • #009A48

    #009A48

    oklch(60% 0.163 150.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA4EB2

    #BA4EB2

    oklch(59.9% 0.183 330.5)

  • #935FDB

    #935FDB

    oklch(59.9% 0.184 300.3)

  • #D1437A

    #D1437A

    oklch(59.9% 0.183 0.6)

Open the analogous palette in the generator

Split complementary

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

  • #BA4EB2

    #BA4EB2

    oklch(59.9% 0.183 330.5)

  • #758C00

    #758C00

    oklch(60% 0.143 120.6)

  • #009583

    #009583

    oklch(60% 0.109 180.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA4EB2

    #BA4EB2

    oklch(59.9% 0.183 330.5)

  • #9C7C00

    #9C7C00

    oklch(60% 0.123 90.6)

  • #0090A3

    #0090A3

    oklch(59.9% 0.104 211)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA4EB2

    #BA4EB2

    oklch(59.9% 0.183 330.5)

  • #BB6800

    #BB6800

    oklch(60% 0.14 60.1)

  • #009A48

    #009A48

    oklch(60% 0.163 150.5)

  • #0088CA

    #0088CA

    oklch(59.9% 0.139 240.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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