#BA7FB0

Closest named color: Dusty Lavender (#AC86A8). oklch(67.2% 0.098 332.8), rgb(186, 127, 176).

Aa

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

About this color

#BA7FB0 is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.098 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusty Lavender (#AC86A8), ΔE 0.033 away. Black text reads best on it, at 6.75:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameDusty Lavender (#AC86A8)
Black text6.75:1
White text3.11:1

Values

HEX#BA7FB0
RGBrgb(186, 127, 176)
HSLhsl(310, 30%, 61%)
OKLCHoklch(67.2% 0.098 332.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 #BA7FB0 3.11:1 AA large text Lc -63.4 Content text, not long reading
Black text on #BA7FB0 6.75:1 AA Lc 46.1 Large or bold text, headings
#BA7FB0 text on white 3.11:1 AA large text Lc 58.0 Large or bold text, headings
#BA7FB0 text on black 6.75:1 AA Lc -43.8 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 400.

  1. Step 50

    50

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E6EF

    oklch(93.7% 0.018 334.2)

  3. Step 200

    200

    #E8D1E3

    oklch(88.5% 0.035 333.2)

  4. Step 300

    300

    #D9B3D2

    oklch(81% 0.06 332.5)

  5. Step 400

    400 (this color)

    #BA7FB0

    oklch(67.2% 0.098 332.8)

  6. Step 500

    500

    #B56BAA

    oklch(63% 0.125 332.5)

  7. Step 600

    600

    #A15195

    oklch(55.6% 0.137 333.2)

  8. Step 700

    700

    #89417F

    oklch(49% 0.127 332.8)

  9. Step 800

    800

    #703667

    oklch(42.7% 0.105 333.4)

  10. Step 900

    900

    #5B3054

    oklch(37.8% 0.081 333.3)

  11. Step 950

    950

    #351C31

    oklch(26.9% 0.052 333)

Export this scale for Tailwind in the Tailwind colors tool

#BA7FB0 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)#7E8DB20.095
Deuteranopia (no green cones)#8C95AE0.088
Tritanopia (no blue cones)#BF82900.052
Achromatopsia (no color)#9292920.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7FB0

    #BA7FB0

    oklch(67.2% 0.098 332.8)

  • #64A779

    #64A779

    oklch(67.1% 0.097 153.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7FB0

    #BA7FB0

    oklch(67.2% 0.098 332.8)

  • #A287C8

    #A287C8

    oklch(67.2% 0.098 302.9)

  • #C87C90

    #C87C90

    oklch(67.2% 0.097 3)

Open the analogous palette in the generator

Split complementary

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

  • #BA7FB0

    #BA7FB0

    oklch(67.2% 0.098 332.8)

  • #8BA05A

    #8BA05A

    oklch(67.3% 0.098 122.7)

  • #41A99B

    #41A99B

    oklch(67.1% 0.098 183)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7FB0

    #BA7FB0

    oklch(67.2% 0.098 332.8)

  • #AB944A

    #AB944A

    oklch(67.2% 0.098 92.4)

  • #3DA6BA

    #3DA6BA

    oklch(67.3% 0.098 212.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7FB0

    #BA7FB0

    oklch(67.2% 0.098 332.8)

  • #C18853

    #C18853

    oklch(67.2% 0.099 62.8)

  • #64A779

    #64A779

    oklch(67.1% 0.097 153.1)

  • #5D9DCD

    #5D9DCD

    oklch(67.3% 0.097 242.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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