#BA7FB4

Closest named color: Dusty Lavender (#AC86A8). oklch(67.4% 0.102 330.2), rgb(186, 127, 180).

Aa

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

About this color

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

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

Values

HEX#BA7FB4
RGBrgb(186, 127, 180)
HSLhsl(306, 30%, 61%)
OKLCHoklch(67.4% 0.102 330.2)

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 #BA7FB4 3.09:1 AA large text Lc -63.2 Content text, not long reading
Black text on #BA7FB4 6.78:1 AA Lc 46.3 Large or bold text, headings
#BA7FB4 text on white 3.09:1 AA large text Lc 57.8 Large or bold text, headings
#BA7FB4 text on black 6.78:1 AA Lc -44.0 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

    #F1E6F0

    oklch(93.6% 0.018 328.5)

  3. Step 200

    200

    #E7D1E4

    oklch(88.4% 0.035 330.3)

  4. Step 300

    300

    #D9B2D4

    oklch(80.8% 0.064 330.4)

  5. Step 400

    400 (this color)

    #BA7FB4

    oklch(67.4% 0.102 330.2)

  6. Step 500

    500

    #B56AAE

    oklch(63.1% 0.13 330.4)

  7. Step 600

    600

    #A0509A

    oklch(55.6% 0.142 330.1)

  8. Step 700

    700

    #894183

    oklch(49.2% 0.131 330.6)

  9. Step 800

    800

    #6F366B

    oklch(42.7% 0.108 329.9)

  10. Step 900

    900

    #5A2F57

    oklch(37.6% 0.085 329.7)

  11. Step 950

    950

    #351C33

    oklch(27% 0.054 329.9)

Export this scale for Tailwind in the Tailwind colors tool

#BA7FB4 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)#7D8DB60.096
Deuteranopia (no green cones)#8B95B20.088
Tritanopia (no blue cones)#BF83920.056
Achromatopsia (no color)#9292920.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7FB4

    #BA7FB4

    oklch(67.4% 0.102 330.2)

  • #66A875

    #66A875

    oklch(67.3% 0.101 150.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7FB4

    #BA7FB4

    oklch(67.4% 0.102 330.2)

  • #A088CC

    #A088CC

    oklch(67.4% 0.102 299.9)

  • #CA7B93

    #CA7B93

    oklch(67.4% 0.102 0.6)

Open the analogous palette in the generator

Split complementary

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

  • #BA7FB4

    #BA7FB4

    oklch(67.4% 0.102 330.2)

  • #8EA055

    #8EA055

    oklch(67.4% 0.102 120.3)

  • #3EAB99

    #3EAB99

    oklch(67.4% 0.102 180.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7FB4

    #BA7FB4

    oklch(67.4% 0.102 330.2)

  • #AE9446

    #AE9446

    oklch(67.4% 0.102 91)

  • #36A7B9

    #36A7B9

    oklch(67.4% 0.102 210.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7FB4

    #BA7FB4

    oklch(67.4% 0.102 330.2)

  • #C48753

    #C48753

    oklch(67.4% 0.101 60.3)

  • #66A875

    #66A875

    oklch(67.3% 0.101 150.2)

  • #579ECF

    #579ECF

    oklch(67.3% 0.102 240.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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