#BA7EAA

Closest named color: Dusty Lavender (#AC86A8). oklch(66.8% 0.094 336.8), rgb(186, 126, 170).

Aa

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

About this color

#BA7EAA is a medium-light, moderately saturated pink. In OKLCH its lightness is 67%, its chroma 0.094 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Dusty Lavender (#AC86A8), ΔE 0.030 away. Black text reads best on it, at 6.65:1.

Hue familyPinks
Lightnessmedium-light (67%)
Chromamoderately saturated (0.094)
Temperaturewarm
Nearest nameDusty Lavender (#AC86A8)
Black text6.65:1
White text3.15:1

Values

HEX#BA7EAA
RGBrgb(186, 126, 170)
HSLhsl(316, 30%, 61%)
OKLCHoklch(66.8% 0.094 336.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 #BA7EAA 3.15:1 AA large text Lc -64.0 Content text, not long reading
Black text on #BA7EAA 6.65:1 AA Lc 45.5 Large or bold text, headings
#BA7EAA text on white 3.15:1 AA large text Lc 58.6 Large or bold text, headings
#BA7EAA text on black 6.65:1 AA Lc -43.2 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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #F0E7ED

    oklch(93.7% 0.013 337.5)

  3. Step 200

    200

    #E5D3DF

    oklch(88.5% 0.025 337.8)

  4. Step 300

    300

    #D5B6CC

    oklch(81% 0.046 336.5)

  5. Step 400

    400

    #BF8FB2

    oklch(70.7% 0.075 336.5)

  6. Step 500

    500 (this color)

    #BA7EAA

    oklch(66.8% 0.094 336.8)

  7. Step 600

    600

    #995B89

    oklch(55.6% 0.102 337.1)

  8. Step 700

    700

    #824A74

    oklch(49% 0.095 336.9)

  9. Step 800

    800

    #6A3D5F

    oklch(42.7% 0.079 336.5)

  10. Step 900

    900

    #56344E

    oklch(37.6% 0.063 335.8)

  11. Step 950

    950

    #331F2D

    oklch(27% 0.039 338.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA7EAA 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)#7F8BAC0.093
Deuteranopia (no green cones)#8D94A80.087
Tritanopia (no blue cones)#C0808E0.045
Achromatopsia (no color)#9191910.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7EAA

    #BA7EAA

    oklch(66.8% 0.094 336.8)

  • #60A67D

    #60A67D

    oklch(66.7% 0.094 156.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7EAA

    #BA7EAA

    oklch(66.8% 0.094 336.8)

  • #A485C2

    #A485C2

    oklch(66.8% 0.094 307.2)

  • #C67C8B

    #C67C8B

    oklch(66.8% 0.094 6.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA7EAA

    #BA7EAA

    oklch(66.8% 0.094 336.8)

  • #85A05F

    #85A05F

    oklch(66.9% 0.095 127.2)

  • #42A79E

    #42A79E

    oklch(66.7% 0.094 187)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7EAA

    #BA7EAA

    oklch(66.8% 0.094 336.8)

  • #A5954D

    #A5954D

    oklch(66.8% 0.095 97.1)

  • #44A3BA

    #44A3BA

    oklch(66.8% 0.094 216.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7EAA

    #BA7EAA

    oklch(66.8% 0.094 336.8)

  • #BC8953

    #BC8953

    oklch(66.8% 0.094 66.6)

  • #60A67D

    #60A67D

    oklch(66.7% 0.094 156.9)

  • #639ACC

    #639ACC

    oklch(66.8% 0.095 247.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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