#BA7FCC

Closest named color: Wisteria (#A87DC2). oklch(68.4% 0.127 318.1), rgb(186, 127, 204).

Aa

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

About this color

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

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

Values

HEX#BA7FCC
RGBrgb(186, 127, 204)
HSLhsl(286, 43%, 65%)
OKLCHoklch(68.4% 0.127 318.1)

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 #BA7FCC 3.00:1 AA large text Lc -61.9 Content text, not long reading
Black text on #BA7FCC 6.99:1 AA Lc 47.5 Large or bold text, headings
#BA7FCC text on white 3.00:1 AA large text Lc 56.5 Large or bold text, headings
#BA7FCC text on black 6.99:1 AA Lc -45.2 Large or bold text, headings

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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E6D1EC

    oklch(88.6% 0.043 318.7)

  4. Step 300

    300

    #D6B1E2

    oklch(80.9% 0.079 317.8)

  5. Step 400

    400 (this color)

    #BA7FCC

    oklch(68.4% 0.127 318.1)

  6. Step 500

    500

    #B165C8

    oklch(63% 0.162 317.9)

  7. Step 600

    600

    #9C49B4

    oklch(55.5% 0.176 318.1)

  8. Step 700

    700

    #863A9B

    oklch(49.2% 0.164 318.4)

  9. Step 800

    800

    #6D317E

    oklch(42.8% 0.136 318.2)

  10. Step 900

    900

    #582C65

    oklch(37.7% 0.105 318.1)

  11. Step 950

    950

    #341A3B

    oklch(26.9% 0.068 318.8)

Export this scale for Tailwind in the Tailwind colors tool

#BA7FCC 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)#7491CF0.107
Deuteranopia (no green cones)#8397CA0.098
Tritanopia (no blue cones)#BA889C0.082
Achromatopsia (no color)#9595950.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7FCC

    #BA7FCC

    oklch(68.4% 0.127 318.1)

  • #71AC5C

    #71AC5C

    oklch(68.5% 0.127 138)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7FCC

    #BA7FCC

    oklch(68.4% 0.127 318.1)

  • #968CE3

    #968CE3

    oklch(68.4% 0.126 287.8)

  • #D277A7

    #D277A7

    oklch(68.4% 0.127 348.1)

Open the analogous palette in the generator

Split complementary

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

  • #BA7FCC

    #BA7FCC

    oklch(68.4% 0.127 318.1)

  • #A19F33

    #A19F33

    oklch(68.4% 0.127 108.3)

  • #2CB28A

    #2CB28A

    oklch(68.4% 0.127 167.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7FCC

    #BA7FCC

    oklch(68.4% 0.127 318.1)

  • #C48E2C

    #C48E2C

    oklch(68.3% 0.127 77.8)

  • #00AFB3

    #00AFB3

    oklch(68.4% 0.116 197.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7FCC

    #BA7FCC

    oklch(68.4% 0.127 318.1)

  • #D87F4F

    #D87F4F

    oklch(68.3% 0.127 48)

  • #71AC5C

    #71AC5C

    oklch(68.5% 0.127 138)

  • #1FA8D7

    #1FA8D7

    oklch(68.5% 0.127 228)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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