#BA42C0

Closest named color: Purpley Pink (#C83CB9). oklch(59.3% 0.211 325.9), rgb(186, 66, 192).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.211)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.62:1
White text4.53:1

Values

HEX#BA42C0
RGBrgb(186, 66, 192)
HSLhsl(297, 50%, 51%)
OKLCHoklch(59.3% 0.211 325.9)

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 #BA42C0 4.53:1 AA Lc -76.1 Fine for body text
Black text on #BA42C0 4.62:1 AA Lc 33.5 Non-text elements, placeholder text
#BA42C0 text on white 4.53:1 AA Lc 70.6 Content text, not long reading
#BA42C0 text on black 4.62:1 AA Lc -31.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 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

    #ECCEEC

    oklch(88.5% 0.052 326)

  4. Step 300

    300

    #E1ABE2

    oklch(80.8% 0.096 325.8)

  5. Step 400

    400

    #D07CD3

    oklch(70.6% 0.152 325.8)

  6. Step 500

    500

    #C256C7

    oklch(63.1% 0.194 325.8)

  7. Step 600

    600 (this color)

    #BA42C0

    oklch(59.3% 0.211 325.9)

  8. Step 700

    700

    #95259B

    oklch(49.1% 0.197 325.8)

  9. Step 800

    800

    #79227D

    oklch(42.7% 0.162 326.1)

  10. Step 900

    900

    #622265

    oklch(37.7% 0.128 325.9)

  11. Step 950

    950

    #39153B

    oklch(26.8% 0.081 325.5)

Export this scale for Tailwind in the Tailwind colors tool

#BA42C0 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)#2B6CC40.218
Deuteranopia (no green cones)#5C7BBD0.186
Tritanopia (no blue cones)#BF557C0.121
Achromatopsia (no color)#7676760.213

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA42C0

    #BA42C0

    oklch(59.3% 0.211 325.9)

  • #00992F

    #00992F

    oklch(59.4% 0.182 145.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA42C0

    #BA42C0

    oklch(59.3% 0.211 325.9)

  • #8D58EB

    #8D58EB

    oklch(59.4% 0.211 295.9)

  • #D63083

    #D63083

    oklch(59.3% 0.211 355.6)

Open the analogous palette in the generator

Split complementary

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

  • #BA42C0

    #BA42C0

    oklch(59.3% 0.211 325.9)

  • #7B8700

    #7B8700

    oklch(59.3% 0.135 115.9)

  • #00937C

    #00937C

    oklch(59.3% 0.11 176.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA42C0

    #BA42C0

    oklch(59.3% 0.211 325.9)

  • #9E7800

    #9E7800

    oklch(59.4% 0.121 86.3)

  • #008F9C

    #008F9C

    oklch(59.4% 0.102 206.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA42C0

    #BA42C0

    oklch(59.3% 0.211 325.9)

  • #BD6200

    #BD6200

    oklch(59.2% 0.145 55.8)

  • #00992F

    #00992F

    oklch(59.4% 0.182 145.9)

  • #0088BF

    #0088BF

    oklch(59.3% 0.127 235.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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