#BA40C3

Closest named color: Purpley Pink (#C83CB9). oklch(59.3% 0.216 325), rgb(186, 64, 195).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.216)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.60:1
White text4.55:1

Values

HEX#BA40C3
RGBrgb(186, 64, 195)
HSLhsl(296, 52%, 51%)
OKLCHoklch(59.3% 0.216 325)

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 #BA40C3 4.55:1 AA Lc -76.2 Fine for body text
Black text on #BA40C3 4.60:1 AA Lc 33.4 Non-text elements, placeholder text
#BA40C3 text on white 4.55:1 AA Lc 70.7 Content text, not long reading
#BA40C3 text on black 4.60:1 AA Lc -31.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 600.

  1. Step 50

    50

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F4

    oklch(93.6% 0.027 325.8)

  3. Step 200

    200

    #ECCDED

    oklch(88.4% 0.055 325.1)

  4. Step 300

    300

    #E1ABE4

    oklch(80.9% 0.098 324.7)

  5. Step 400

    400

    #D07BD6

    oklch(70.6% 0.157 324.7)

  6. Step 500

    500

    #C255CA

    oklch(63.1% 0.198 324.9)

  7. Step 600

    600 (this color)

    #BA40C3

    oklch(59.3% 0.216 325)

  8. Step 700

    700

    #95239D

    oklch(49.1% 0.201 325.1)

  9. Step 800

    800

    #792080

    oklch(42.7% 0.167 324.8)

  10. Step 900

    900

    #622267

    oklch(37.8% 0.13 324.8)

  11. Step 950

    950

    #39153C

    oklch(26.9% 0.082 324.5)

Export this scale for Tailwind in the Tailwind colors tool

#BA40C3 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)#236CC70.224
Deuteranopia (no green cones)#597BC00.191
Tritanopia (no blue cones)#BE557D0.126
Achromatopsia (no color)#7676760.218

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA40C3

    #BA40C3

    oklch(59.3% 0.216 325)

  • #009928

    #009928

    oklch(59.4% 0.187 145)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA40C3

    #BA40C3

    oklch(59.3% 0.216 325)

  • #8C57EE

    #8C57EE

    oklch(59.4% 0.216 295.1)

  • #D72C85

    #D72C85

    oklch(59.3% 0.216 354.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA40C3

    #BA40C3

    oklch(59.3% 0.216 325)

  • #7C8700

    #7C8700

    oklch(59.4% 0.135 115.4)

  • #00937A

    #00937A

    oklch(59.2% 0.112 175)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA40C3

    #BA40C3

    oklch(59.3% 0.216 325)

  • #9F7700

    #9F7700

    oklch(59.3% 0.121 85)

  • #008F9B

    #008F9B

    oklch(59.3% 0.101 205.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA40C3

    #BA40C3

    oklch(59.3% 0.216 325)

  • #BE6100

    #BE6100

    oklch(59.2% 0.147 54.9)

  • #009928

    #009928

    oklch(59.4% 0.187 145)

  • #0089BE

    #0089BE

    oklch(59.5% 0.126 234.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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