#BA7EC2

Closest named color: Wisteria (#A87DC2). oklch(67.8% 0.118 322.6), rgb(186, 126, 194).

Aa

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

About this color

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

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

Values

HEX#BA7EC2
RGBrgb(186, 126, 194)
HSLhsl(293, 36%, 63%)
OKLCHoklch(67.8% 0.118 322.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 #BA7EC2 3.06:1 AA large text Lc -62.8 Content text, not long reading
Black text on #BA7EC2 6.85:1 AA Lc 46.7 Large or bold text, headings
#BA7EC2 text on white 3.06:1 AA large text Lc 57.4 Large or bold text, headings
#BA7EC2 text on black 6.85: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

    #F1E5F2

    oklch(93.5% 0.022 323.4)

  3. Step 200

    200

    #E7D1E9

    oklch(88.6% 0.04 323.3)

  4. Step 300

    300

    #D8B1DD

    oklch(80.9% 0.074 322.5)

  5. Step 400

    400 (this color)

    #BA7EC2

    oklch(67.8% 0.118 322.6)

  6. Step 500

    500

    #B367BE

    oklch(63.1% 0.15 322.4)

  7. Step 600

    600

    #9F4CAA

    oklch(55.7% 0.163 322.8)

  8. Step 700

    700

    #873C92

    oklch(49% 0.152 322.4)

  9. Step 800

    800

    #6E3276

    oklch(42.6% 0.126 322.8)

  10. Step 900

    900

    #592D60

    oklch(37.7% 0.098 322)

  11. Step 950

    950

    #341B38

    oklch(26.9% 0.062 321.9)

Export this scale for Tailwind in the Tailwind colors tool

#BA7EC2 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)#778FC50.104
Deuteranopia (no green cones)#8696C00.096
Tritanopia (no blue cones)#BC85970.072
Achromatopsia (no color)#9393930.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7EC2

    #BA7EC2

    oklch(67.8% 0.118 322.6)

  • #6AAA66

    #6AAA66

    oklch(67.8% 0.118 142.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7EC2

    #BA7EC2

    oklch(67.8% 0.118 322.6)

  • #9A89DA

    #9A89DA

    oklch(67.8% 0.118 292.6)

  • #CF789E

    #CF789E

    oklch(67.8% 0.117 353)

Open the analogous palette in the generator

Split complementary

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

  • #BA7EC2

    #BA7EC2

    oklch(67.8% 0.118 322.6)

  • #999F41

    #999F41

    oklch(67.8% 0.118 112.5)

  • #30AF90

    #30AF90

    oklch(67.8% 0.118 172.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7EC2

    #BA7EC2

    oklch(67.8% 0.118 322.6)

  • #BB9035

    #BB9035

    oklch(67.8% 0.118 82.7)

  • #00ACB7

    #00ACB7

    oklch(67.8% 0.115 202.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7EC2

    #BA7EC2

    oklch(67.8% 0.118 322.6)

  • #D0824E

    #D0824E

    oklch(67.8% 0.118 53.1)

  • #6AAA66

    #6AAA66

    oklch(67.8% 0.118 142.9)

  • #3BA3D4

    #3BA3D4

    oklch(67.7% 0.118 233)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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