#BA7FC9

Closest named color: Wisteria (#A87DC2). oklch(68.2% 0.124 319.3), rgb(186, 127, 201).

Aa

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

About this color

#BA7FC9 is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.124 and its hue 319°. 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.96:1.

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

Values

HEX#BA7FC9
RGBrgb(186, 127, 201)
HSLhsl(288, 41%, 64%)
OKLCHoklch(68.2% 0.124 319.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 #BA7FC9 3.01:1 AA large text Lc -62.1 Content text, not long reading
Black text on #BA7FC9 6.96:1 AA Lc 47.3 Large or bold text, headings
#BA7FC9 text on white 3.01:1 AA large text Lc 56.7 Large or bold text, headings
#BA7FC9 text on black 6.96:1 AA Lc -45.1 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

    #E6D1EB

    oklch(88.6% 0.042 319.7)

  4. Step 300

    300

    #D7B1E0

    oklch(80.9% 0.077 319.8)

  5. Step 400

    400 (this color)

    #BA7FC9

    oklch(68.2% 0.124 319.3)

  6. Step 500

    500

    #B266C5

    oklch(63.2% 0.158 319.4)

  7. Step 600

    600

    #9D4AB1

    oklch(55.5% 0.172 319.5)

  8. Step 700

    700

    #863B98

    oklch(49.1% 0.159 319.4)

  9. Step 800

    800

    #6D317C

    oklch(42.7% 0.133 319.2)

  10. Step 900

    900

    #582C63

    oklch(37.5% 0.103 319.3)

  11. Step 950

    950

    #341B3A

    oklch(27.1% 0.064 319.6)

Export this scale for Tailwind in the Tailwind colors tool

#BA7FC9 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)#7591CC0.106
Deuteranopia (no green cones)#8497C70.097
Tritanopia (no blue cones)#BB889B0.079
Achromatopsia (no color)#9595950.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7FC9

    #BA7FC9

    oklch(68.2% 0.124 319.3)

  • #6FAB5F

    #6FAB5F

    oklch(68.2% 0.124 139.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7FC9

    #BA7FC9

    oklch(68.2% 0.124 319.3)

  • #978BE0

    #978BE0

    oklch(68.2% 0.124 289.2)

  • #D178A5

    #D178A5

    oklch(68.3% 0.123 349.2)

Open the analogous palette in the generator

Split complementary

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

  • #BA7FC9

    #BA7FC9

    oklch(68.2% 0.124 319.3)

  • #9F9F39

    #9F9F39

    oklch(68.3% 0.123 109.3)

  • #2EB18C

    #2EB18C

    oklch(68.2% 0.124 169.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7FC9

    #BA7FC9

    oklch(68.2% 0.124 319.3)

  • #C18F30

    #C18F30

    oklch(68.2% 0.124 79.5)

  • #00AEB4

    #00AEB4

    oklch(68.2% 0.116 199.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7FC9

    #BA7FC9

    oklch(68.2% 0.124 319.3)

  • #D68050

    #D68050

    oklch(68.3% 0.124 48.8)

  • #6FAB5F

    #6FAB5F

    oklch(68.2% 0.124 139.3)

  • #2BA7D6

    #2BA7D6

    oklch(68.4% 0.124 229.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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