#BA7FBC

Closest named color: Wisteria (#A87DC2). oklch(67.7% 0.11 325.6), rgb(186, 127, 188).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.110)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.84:1
White text3.06:1

Values

HEX#BA7FBC
RGBrgb(186, 127, 188)
HSLhsl(298, 31%, 62%)
OKLCHoklch(67.7% 0.11 325.6)

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 #BA7FBC 3.06:1 AA large text Lc -62.8 Content text, not long reading
Black text on #BA7FBC 6.84:1 AA Lc 46.7 Large or bold text, headings
#BA7FBC text on white 3.06:1 AA large text Lc 57.4 Large or bold text, headings
#BA7FBC text on black 6.84:1 AA Lc -44.4 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

    #E7D1E7

    oklch(88.5% 0.038 325.9)

  4. Step 300

    300

    #D8B2D9

    oklch(80.9% 0.068 325.4)

  5. Step 400

    400 (this color)

    #BA7FBC

    oklch(67.7% 0.11 325.6)

  6. Step 500

    500

    #B469B7

    oklch(63.2% 0.14 325.7)

  7. Step 600

    600

    #9F4EA3

    oklch(55.6% 0.153 325.6)

  8. Step 700

    700

    #883F8B

    oklch(49.2% 0.141 325.9)

  9. Step 800

    800

    #6E3471

    oklch(42.6% 0.117 325.5)

  10. Step 900

    900

    #5A2E5C

    oklch(37.7% 0.093 325.6)

  11. Step 950

    950

    #351C36

    oklch(27.2% 0.058 325.6)

Export this scale for Tailwind in the Tailwind colors tool

#BA7FBC 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)#7A8FBE0.100
Deuteranopia (no green cones)#8996BA0.091
Tritanopia (no blue cones)#BD85950.065
Achromatopsia (no color)#9393930.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7FBC

    #BA7FBC

    oklch(67.7% 0.11 325.6)

  • #69A96D

    #69A96D

    oklch(67.6% 0.109 145.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7FBC

    #BA7FBC

    oklch(67.7% 0.11 325.6)

  • #9D89D4

    #9D89D4

    oklch(67.7% 0.11 295.6)

  • #CC7A9A

    #CC7A9A

    oklch(67.7% 0.109 355.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA7FBC

    #BA7FBC

    oklch(67.7% 0.11 325.6)

  • #949F4B

    #949F4B

    oklch(67.5% 0.11 115.6)

  • #38AD94

    #38AD94

    oklch(67.6% 0.11 175.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7FBC

    #BA7FBC

    oklch(67.7% 0.11 325.6)

  • #B6923F

    #B6923F

    oklch(67.7% 0.11 85.5)

  • #21AAB8

    #21AAB8

    oklch(67.6% 0.11 205.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7FBC

    #BA7FBC

    oklch(67.7% 0.11 325.6)

  • #CB8451

    #CB8451

    oklch(67.6% 0.11 55.3)

  • #69A96D

    #69A96D

    oklch(67.6% 0.109 145.7)

  • #4AA1D1

    #4AA1D1

    oklch(67.6% 0.109 235.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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