#BA71AB

Closest named color: Soft Purple (#A66FB5). oklch(64.7% 0.119 334.8), rgb(186, 113, 171).

Aa

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

About this color

#BA71AB is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.119 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.039 away. Black text reads best on it, at 6.03:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text6.03:1
White text3.47:1

Values

HEX#BA71AB
RGBrgb(186, 113, 171)
HSLhsl(312, 35%, 59%)
OKLCHoklch(64.7% 0.119 334.8)

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 #BA71AB 3.47:1 AA large text Lc -67.6 Content text, not long reading
Black text on #BA71AB 6.03:1 AA Lc 42.0 Non-text elements, placeholder text
#BA71AB text on white 3.47:1 AA large text Lc 62.1 Content text, not long reading
#BA71AB text on black 6.03:1 AA Lc -39.6 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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F1E6EE

    oklch(93.6% 0.016 335.1)

  3. Step 200

    200

    #E7D2E2

    oklch(88.6% 0.031 334)

  4. Step 300

    300

    #D9B3D0

    oklch(80.9% 0.058 334.5)

  5. Step 400

    400

    #C58BB8

    oklch(70.8% 0.092 334.8)

  6. Step 500

    500 (this color)

    #BA71AB

    oklch(64.7% 0.119 334.8)

  7. Step 600

    600

    #A05391

    oklch(55.6% 0.129 334.9)

  8. Step 700

    700

    #89437C

    oklch(49.1% 0.121 334.7)

  9. Step 800

    800

    #6F3865

    oklch(42.8% 0.099 334.4)

  10. Step 900

    900

    #5A3152

    oklch(37.8% 0.076 334.6)

  11. Step 950

    950

    #351D30

    oklch(27.1% 0.049 334.8)

Export this scale for Tailwind in the Tailwind colors tool

#BA71AB 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)#7183AD0.118
Deuteranopia (no green cones)#848DA90.107
Tritanopia (no blue cones)#C174860.060
Achromatopsia (no color)#8989890.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA71AB

    #BA71AB

    oklch(64.7% 0.119 334.8)

  • #49A36D

    #49A36D

    oklch(64.6% 0.119 154.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA71AB

    #BA71AB

    oklch(64.7% 0.119 334.8)

  • #9F7BC8

    #9F7BC8

    oklch(64.8% 0.118 304.8)

  • #CA6D85

    #CA6D85

    oklch(64.7% 0.12 4.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA71AB

    #BA71AB

    oklch(64.7% 0.119 334.8)

  • #7E9A44

    #7E9A44

    oklch(64.6% 0.118 124.6)

  • #00A497

    #00A497

    oklch(64.6% 0.114 185)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA71AB

    #BA71AB

    oklch(64.7% 0.119 334.8)

  • #A58D28

    #A58D28

    oklch(64.7% 0.119 95.1)

  • #009FB9

    #009FB9

    oklch(64.6% 0.114 214.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA71AB

    #BA71AB

    oklch(64.7% 0.119 334.8)

  • #BF7D36

    #BF7D36

    oklch(64.5% 0.118 64.6)

  • #49A36D

    #49A36D

    oklch(64.6% 0.119 154.8)

  • #4795D1

    #4795D1

    oklch(64.7% 0.118 244.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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