#BA7EDA

Closest named color: Wisteria (#A87DC2). oklch(68.9% 0.145 313.1), rgb(186, 126, 218).

Aa

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

About this color

#BA7EDA is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.145 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.047 away. Black text reads best on it, at 7.08:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.145)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text7.08:1
White text2.96:1

Values

HEX#BA7EDA
RGBrgb(186, 126, 218)
HSLhsl(279, 55%, 67%)
OKLCHoklch(68.9% 0.145 313.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 #BA7EDA 2.96:1 Fails Lc -61.3 Content text, not long reading
Black text on #BA7EDA 7.08:1 AAA Lc 48.0 Large or bold text, headings
#BA7EDA text on white 2.96:1 Fails Lc 56.0 Large or bold text, headings
#BA7EDA text on black 7.08:1 AAA Lc -45.8 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F7

    oklch(93.6% 0.027 312.6)

  3. Step 200

    200

    #E5D0F1

    oklch(88.5% 0.05 313.4)

  4. Step 300

    300

    #D5B0EB

    oklch(80.9% 0.09 312.7)

  5. Step 400

    400 (this color)

    #BA7EDA

    oklch(68.9% 0.145 313.1)

  6. Step 500

    500

    #B061D7

    oklch(63.2% 0.184 313.2)

  7. Step 600

    600

    #9B43C4

    oklch(55.6% 0.2 313.2)

  8. Step 700

    700

    #8433AA

    oklch(49% 0.187 312.8)

  9. Step 800

    800

    #6C2C89

    oklch(42.7% 0.154 313.4)

  10. Step 900

    900

    #57296E

    oklch(37.6% 0.121 312.8)

  11. Step 950

    950

    #331940

    oklch(26.9% 0.076 313.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA7EDA 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)#6C93DD0.117
Deuteranopia (no green cones)#7C97D70.106
Tritanopia (no blue cones)#B78BA20.099
Achromatopsia (no color)#9696960.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7EDA

    #BA7EDA

    oklch(68.9% 0.145 313.1)

  • #76AD49

    #76AD49

    oklch(68.7% 0.144 133.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7EDA

    #BA7EDA

    oklch(68.9% 0.145 313.1)

  • #908DF1

    #908DF1

    oklch(68.9% 0.145 283.3)

  • #D774B2

    #D774B2

    oklch(68.9% 0.144 343.2)

Open the analogous palette in the generator

Split complementary

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

  • #BA7EDA

    #BA7EDA

    oklch(68.9% 0.145 313.1)

  • #AC9E01

    #AC9E01

    oklch(69% 0.145 103.2)

  • #17B681

    #17B681

    oklch(68.9% 0.144 163.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7EDA

    #BA7EDA

    oklch(68.9% 0.145 313.1)

  • #D08A0A

    #D08A0A

    oklch(68.8% 0.145 72.9)

  • #00B1AF

    #00B1AF

    oklch(68.8% 0.118 193.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7EDA

    #BA7EDA

    oklch(68.9% 0.145 313.1)

  • #E3794C

    #E3794C

    oklch(68.7% 0.145 42.9)

  • #76AD49

    #76AD49

    oklch(68.7% 0.144 133.1)

  • #00ABD4

    #00ABD4

    oklch(68.8% 0.128 223)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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