#BA38AE

Closest named color: Purpley Pink (#C83CB9). oklch(57.4% 0.209 331.9), rgb(186, 56, 174).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.209)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.26:1
White text4.92:1

Values

HEX#BA38AE
RGBrgb(186, 56, 174)
HSLhsl(306, 54%, 47%)
OKLCHoklch(57.4% 0.209 331.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 #BA38AE 4.92:1 AA Lc -78.5 Fine for body text
Black text on #BA38AE 4.26:1 AA large text Lc 31.1 Non-text elements, placeholder text
#BA38AE text on white 4.92:1 AA Lc 73.0 Content text, not long reading
#BA38AE text on black 4.26:1 AA large text Lc -28.7 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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F5E4F2

    oklch(93.6% 0.026 331.5)

  3. Step 200

    200

    #EFCDE9

    oklch(88.5% 0.053 332)

  4. Step 300

    300

    #E5AADC

    oklch(80.8% 0.095 331.8)

  5. Step 400

    400

    #D67ACA

    oklch(70.6% 0.151 332)

  6. Step 500

    500

    #C953BC

    oklch(63.1% 0.193 332.1)

  7. Step 600

    600 (this color)

    #BA38AE

    oklch(57.4% 0.209 331.9)

  8. Step 700

    700

    #9A2290

    oklch(49% 0.194 331.9)

  9. Step 800

    800

    #7D1F75

    oklch(42.6% 0.161 331.8)

  10. Step 900

    900

    #65215F

    oklch(37.7% 0.126 331.4)

  11. Step 950

    950

    #3C1537

    oklch(27.1% 0.079 332.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA38AE 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)#3065B10.225
Deuteranopia (no green cones)#6077AB0.192
Tritanopia (no blue cones)#C2466F0.110
Achromatopsia (no color)#7070700.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA38AE

    #BA38AE

    oklch(57.4% 0.209 331.9)

  • #009148

    #009148

    oklch(57.5% 0.152 151.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA38AE

    #BA38AE

    oklch(57.4% 0.209 331.9)

  • #914DDD

    #914DDD

    oklch(57.3% 0.21 301.8)

  • #D2276F

    #D2276F

    oklch(57.4% 0.209 1.9)

Open the analogous palette in the generator

Split complementary

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

  • #BA38AE

    #BA38AE

    oklch(57.4% 0.209 331.9)

  • #6B8400

    #6B8400

    oklch(57.3% 0.139 122)

  • #008C7D

    #008C7D

    oklch(57.4% 0.103 181.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA38AE

    #BA38AE

    oklch(57.4% 0.209 331.9)

  • #927500

    #927500

    oklch(57.4% 0.117 91.4)

  • #00889B

    #00889B

    oklch(57.5% 0.1 211.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA38AE

    #BA38AE

    oklch(57.4% 0.209 331.9)

  • #AE6300

    #AE6300

    oklch(57.3% 0.132 61.9)

  • #009148

    #009148

    oklch(57.5% 0.152 151.8)

  • #0080C1

    #0080C1

    oklch(57.4% 0.136 241.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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