#BA71BD

Closest named color: Soft Purple (#A66FB5). oklch(65.4% 0.136 325.6), rgb(186, 113, 189).

Aa

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

About this color

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

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

Values

HEX#BA71BD
RGBrgb(186, 113, 189)
HSLhsl(298, 37%, 59%)
OKLCHoklch(65.4% 0.136 325.6)

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 #BA71BD 3.39:1 AA large text Lc -66.7 Content text, not long reading
Black text on #BA71BD 6.18:1 AA Lc 42.9 Non-text elements, placeholder text
#BA71BD text on white 3.39:1 AA large text Lc 61.2 Content text, not long reading
#BA71BD text on black 6.18:1 AA Lc -40.5 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E6F1

    oklch(93.7% 0.019 325.7)

  3. Step 200

    200

    #E6D1E7

    oklch(88.4% 0.037 324.5)

  4. Step 300

    300

    #D7B2D8

    oklch(80.8% 0.066 325.3)

  5. Step 400

    400

    #C389C5

    oklch(70.7% 0.107 325.5)

  6. Step 500

    500 (this color)

    #BA71BD

    oklch(65.4% 0.136 325.6)

  7. Step 600

    600

    #9E50A1

    oklch(55.6% 0.147 325.9)

  8. Step 700

    700

    #87408A

    oklch(49.1% 0.138 325.9)

  9. Step 800

    800

    #6D3570

    oklch(42.6% 0.114 325.4)

  10. Step 900

    900

    #592F5B

    oklch(37.7% 0.089 325.5)

  11. Step 950

    950

    #341C35

    oklch(27% 0.056 325.6)

Export this scale for Tailwind in the Tailwind colors tool

#BA71BD 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)#6A86C00.127
Deuteranopia (no green cones)#7D8FBB0.116
Tritanopia (no blue cones)#BE798E0.080
Achromatopsia (no color)#8B8B8B0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA71BD

    #BA71BD

    oklch(65.4% 0.136 325.6)

  • #54A65B

    #54A65B

    oklch(65.5% 0.135 145.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA71BD

    #BA71BD

    oklch(65.4% 0.136 325.6)

  • #987DDA

    #987DDA

    oklch(65.4% 0.137 295.7)

  • #D06A94

    #D06A94

    oklch(65.5% 0.136 355.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA71BD

    #BA71BD

    oklch(65.4% 0.136 325.6)

  • #8D9A25

    #8D9A25

    oklch(65.5% 0.136 115.9)

  • #00A88D

    #00A88D

    oklch(65.3% 0.122 175.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA71BD

    #BA71BD

    oklch(65.4% 0.136 325.6)

  • #B58900

    #B58900

    oklch(65.4% 0.134 85.7)

  • #00A3B1

    #00A3B1

    oklch(65.3% 0.112 205.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA71BD

    #BA71BD

    oklch(65.4% 0.136 325.6)

  • #CE7732

    #CE7732

    oklch(65.3% 0.136 55.4)

  • #54A65B

    #54A65B

    oklch(65.5% 0.135 145.6)

  • #159CD7

    #159CD7

    oklch(65.5% 0.135 235.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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