#BA7FCD

Closest named color: Wisteria (#A87DC2). oklch(68.4% 0.128 317.7), rgb(186, 127, 205).

Aa

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

About this color

#BA7FCD is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.128 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 7.00:1.

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

Values

HEX#BA7FCD
RGBrgb(186, 127, 205)
HSLhsl(285, 44%, 65%)
OKLCHoklch(68.4% 0.128 317.7)

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 #BA7FCD 2.99:1 Fails Lc -61.8 Content text, not long reading
Black text on #BA7FCD 7.00:1 AAA Lc 47.6 Large or bold text, headings
#BA7FCD text on white 2.99:1 Fails Lc 56.5 Large or bold text, headings
#BA7FCD text on black 7.00:1 AAA Lc -45.3 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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E5F4

    oklch(93.5% 0.023 317.1)

  3. Step 200

    200

    #E6D0ED

    oklch(88.4% 0.046 318)

  4. Step 300

    300

    #D6B1E3

    oklch(80.9% 0.08 317.2)

  5. Step 400

    400 (this color)

    #BA7FCD

    oklch(68.4% 0.128 317.7)

  6. Step 500

    500

    #B165C9

    oklch(63.1% 0.163 317.6)

  7. Step 600

    600

    #9C49B6

    oklch(55.6% 0.178 317.4)

  8. Step 700

    700

    #86399C

    oklch(49.1% 0.166 318.1)

  9. Step 800

    800

    #6D307F

    oklch(42.7% 0.138 317.9)

  10. Step 900

    900

    #582C66

    oklch(37.7% 0.107 317.4)

  11. Step 950

    950

    #341A3C

    oklch(27% 0.069 317.8)

Export this scale for Tailwind in the Tailwind colors tool

#BA7FCD 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)#7491D00.107
Deuteranopia (no green cones)#8297CB0.099
Tritanopia (no blue cones)#BA899C0.085
Achromatopsia (no color)#9595950.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7FCD

    #BA7FCD

    oklch(68.4% 0.128 317.7)

  • #71AC5B

    #71AC5B

    oklch(68.4% 0.128 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7FCD

    #BA7FCD

    oklch(68.4% 0.128 317.7)

  • #968CE4

    #968CE4

    oklch(68.5% 0.128 287.7)

  • #D277A8

    #D277A8

    oklch(68.4% 0.128 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA7FCD

    #BA7FCD

    oklch(68.4% 0.128 317.7)

  • #A29F31

    #A29F31

    oklch(68.5% 0.129 107.8)

  • #2BB28A

    #2BB28A

    oklch(68.3% 0.127 167.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7FCD

    #BA7FCD

    oklch(68.4% 0.128 317.7)

  • #C58E2B

    #C58E2B

    oklch(68.4% 0.128 77.5)

  • #00AFB3

    #00AFB3

    oklch(68.4% 0.116 197.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7FCD

    #BA7FCD

    oklch(68.4% 0.128 317.7)

  • #D97F4F

    #D97F4F

    oklch(68.5% 0.128 47.7)

  • #71AC5B

    #71AC5B

    oklch(68.4% 0.128 137.7)

  • #1AA8D7

    #1AA8D7

    oklch(68.4% 0.128 227.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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