#BA7EB9

Closest named color: Wisteria (#A87DC2). oklch(67.4% 0.108 327.3), rgb(186, 126, 185).

Aa

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

About this color

#BA7EB9 is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.108 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.033 away. Black text reads best on it, at 6.77:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.77:1
White text3.10:1

Values

HEX#BA7EB9
RGBrgb(186, 126, 185)
HSLhsl(301, 30%, 61%)
OKLCHoklch(67.4% 0.108 327.3)

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 #BA7EB9 3.10:1 AA large text Lc -63.2 Content text, not long reading
Black text on #BA7EB9 6.77:1 AA Lc 46.2 Large or bold text, headings
#BA7EB9 text on white 3.10:1 AA large text Lc 57.8 Large or bold text, headings
#BA7EB9 text on black 6.77:1 AA Lc -43.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 400.

  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

    #E7D1E6

    oklch(88.5% 0.037 327.3)

  4. Step 300

    300

    #D9B2D8

    oklch(81% 0.068 327)

  5. Step 400

    400 (this color)

    #BA7EB9

    oklch(67.4% 0.108 327.3)

  6. Step 500

    500

    #B569B4

    oklch(63.2% 0.138 327.5)

  7. Step 600

    600

    #A04EA0

    oklch(55.6% 0.151 327.4)

  8. Step 700

    700

    #893F89

    oklch(49.2% 0.14 327.4)

  9. Step 800

    800

    #6F346F

    oklch(42.6% 0.116 327.4)

  10. Step 900

    900

    #5A2E5A

    oklch(37.6% 0.091 327.2)

  11. Step 950

    950

    #351C35

    oklch(27.1% 0.057 327)

Export this scale for Tailwind in the Tailwind colors tool

#BA7EB9 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)#7A8DBB0.100
Deuteranopia (no green cones)#8995B70.092
Tritanopia (no blue cones)#BE83940.061
Achromatopsia (no color)#9292920.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7EB9

    #BA7EB9

    oklch(67.4% 0.108 327.3)

  • #66A96F

    #66A96F

    oklch(67.5% 0.109 147.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7EB9

    #BA7EB9

    oklch(67.4% 0.108 327.3)

  • #9E88D1

    #9E88D1

    oklch(67.5% 0.108 297.3)

  • #CC7997

    #CC7997

    oklch(67.4% 0.109 357.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA7EB9

    #BA7EB9

    oklch(67.4% 0.108 327.3)

  • #919F4D

    #919F4D

    oklch(67.3% 0.108 117.4)

  • #37AC95

    #37AC95

    oklch(67.4% 0.109 177)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7EB9

    #BA7EB9

    oklch(67.4% 0.108 327.3)

  • #B3923F

    #B3923F

    oklch(67.4% 0.109 87.3)

  • #24A9B8

    #24A9B8

    oklch(67.4% 0.108 206.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7EB9

    #BA7EB9

    oklch(67.4% 0.108 327.3)

  • #C98450

    #C98450

    oklch(67.4% 0.109 56.6)

  • #66A96F

    #66A96F

    oklch(67.5% 0.109 147.4)

  • #4DA0D1

    #4DA0D1

    oklch(67.4% 0.108 237.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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