#BA71B2

Closest named color: Soft Purple (#A66FB5). oklch(64.9% 0.125 330.9), rgb(186, 113, 178).

Aa

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

About this color

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

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

Values

HEX#BA71B2
RGBrgb(186, 113, 178)
HSLhsl(307, 35%, 59%)
OKLCHoklch(64.9% 0.125 330.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 #BA71B2 3.44:1 AA large text Lc -67.2 Content text, not long reading
Black text on #BA71B2 6.09:1 AA Lc 42.3 Non-text elements, placeholder text
#BA71B2 text on white 3.44:1 AA large text Lc 61.8 Content text, not long reading
#BA71B2 text on black 6.09:1 AA Lc -39.9 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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F1E6EF

    oklch(93.6% 0.017 331.6)

  3. Step 200

    200

    #E7D1E4

    oklch(88.4% 0.035 330.3)

  4. Step 300

    300

    #D8B3D3

    oklch(80.9% 0.06 330.6)

  5. Step 400

    400

    #C48ABD

    oklch(70.7% 0.098 330.8)

  6. Step 500

    500 (this color)

    #BA71B2

    oklch(64.9% 0.125 330.9)

  7. Step 600

    600

    #9F5298

    oklch(55.6% 0.136 330.7)

  8. Step 700

    700

    #884281

    oklch(49.1% 0.126 331.2)

  9. Step 800

    800

    #6E3769

    oklch(42.7% 0.104 330.7)

  10. Step 900

    900

    #5A3055

    oklch(37.7% 0.081 331.5)

  11. Step 950

    950

    #351C32

    oklch(27% 0.053 331.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA71B2 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)#6E84B40.122
Deuteranopia (no green cones)#818EB00.111
Tritanopia (no blue cones)#C076890.068
Achromatopsia (no color)#8A8A8A0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA71B2

    #BA71B2

    oklch(64.9% 0.125 330.9)

  • #4DA466

    #4DA466

    oklch(64.9% 0.125 150.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA71B2

    #BA71B2

    oklch(64.9% 0.125 330.9)

  • #9C7CCF

    #9C7CCF

    oklch(65% 0.125 300.8)

  • #CC6C8A

    #CC6C8A

    oklch(64.9% 0.125 1.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA71B2

    #BA71B2

    oklch(64.9% 0.125 330.9)

  • #849A39

    #849A39

    oklch(64.9% 0.125 120.8)

  • #00A693

    #00A693

    oklch(65% 0.117 180.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA71B2

    #BA71B2

    oklch(64.9% 0.125 330.9)

  • #AC8B1C

    #AC8B1C

    oklch(65% 0.125 90.6)

  • #00A1B6

    #00A1B6

    oklch(65% 0.113 211)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA71B2

    #BA71B2

    oklch(64.9% 0.125 330.9)

  • #C57B34

    #C57B34

    oklch(64.9% 0.125 61)

  • #4DA466

    #4DA466

    oklch(64.9% 0.125 150.9)

  • #3997D4

    #3997D4

    oklch(64.8% 0.126 241.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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