#BA42C5

Closest named color: Purpley Pink (#C83CB9). oklch(59.6% 0.216 324.3), rgb(186, 66, 197).

Aa

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

About this color

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

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

Values

HEX#BA42C5
RGBrgb(186, 66, 197)
HSLhsl(295, 53%, 52%)
OKLCHoklch(59.6% 0.216 324.3)

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 #BA42C5 4.49:1 AA large text Lc -75.8 Fine for body text
Black text on #BA42C5 4.67:1 AA Lc 33.8 Non-text elements, placeholder text
#BA42C5 text on white 4.49:1 AA large text Lc 70.3 Content text, not long reading
#BA42C5 text on black 4.67:1 AA Lc -31.4 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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F5E3F6

    oklch(93.6% 0.032 324.2)

  3. Step 200

    200

    #EDCDEF

    oklch(88.5% 0.057 324.2)

  4. Step 300

    300

    #E3A9E7

    oklch(80.9% 0.106 324.3)

  5. Step 400

    400

    #D378DB

    oklch(70.7% 0.169 324.2)

  6. Step 500

    500 (this color)

    #BA42C5

    oklch(59.6% 0.216 324.3)

  7. Step 600

    600

    #B127BD

    oklch(55.6% 0.234 324.4)

  8. Step 700

    700

    #9815A3

    oklch(49.1% 0.218 324.4)

  9. Step 800

    800

    #7B1784

    oklch(42.6% 0.18 324.3)

  10. Step 900

    900

    #641D6A

    oklch(37.7% 0.141 324.6)

  11. Step 950

    950

    #3B133E

    oklch(27.1% 0.089 324.9)

Export this scale for Tailwind in the Tailwind colors tool

#BA42C5 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)#246EC90.222
Deuteranopia (no green cones)#597CC20.189
Tritanopia (no blue cones)#BE577E0.127
Achromatopsia (no color)#7777770.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA42C5

    #BA42C5

    oklch(59.6% 0.216 324.3)

  • #009A22

    #009A22

    oklch(59.6% 0.191 144.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA42C5

    #BA42C5

    oklch(59.6% 0.216 324.3)

  • #8B59F0

    #8B59F0

    oklch(59.7% 0.216 294.1)

  • #D82E87

    #D82E87

    oklch(59.6% 0.216 354.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA42C5

    #BA42C5

    oklch(59.6% 0.216 324.3)

  • #7E8700

    #7E8700

    oklch(59.6% 0.134 114.4)

  • #00957A

    #00957A

    oklch(59.7% 0.114 173.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA42C5

    #BA42C5

    oklch(59.6% 0.216 324.3)

  • #A17800

    #A17800

    oklch(59.7% 0.122 84.6)

  • #00909B

    #00909B

    oklch(59.6% 0.102 204.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA42C5

    #BA42C5

    oklch(59.6% 0.216 324.3)

  • #C16100

    #C16100

    oklch(59.6% 0.15 53.9)

  • #009A22

    #009A22

    oklch(59.6% 0.191 144.3)

  • #008ABE

    #008ABE

    oklch(59.7% 0.125 234.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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