#BA7BD7

Closest named color: Wisteria (#A87DC2). oklch(68.2% 0.146 314.5), rgb(186, 123, 215).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.146)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.90:1
White text3.04:1

Values

HEX#BA7BD7
RGBrgb(186, 123, 215)
HSLhsl(281, 53%, 66%)
OKLCHoklch(68.2% 0.146 314.5)

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 #BA7BD7 3.04:1 AA large text Lc -62.4 Content text, not long reading
Black text on #BA7BD7 6.90:1 AA Lc 47.0 Large or bold text, headings
#BA7BD7 text on white 3.04:1 AA large text Lc 57.0 Large or bold text, headings
#BA7BD7 text on black 6.90:1 AA Lc -44.7 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E6D0F1

    oklch(88.6% 0.05 314.6)

  4. Step 300

    300

    #D7AFEA

    oklch(80.9% 0.092 314.7)

  5. Step 400

    400 (this color)

    #BA7BD7

    oklch(68.2% 0.146 314.5)

  6. Step 500

    500

    #B25FD6

    oklch(63.1% 0.187 314.5)

  7. Step 600

    600

    #9D41C3

    oklch(55.5% 0.203 314.4)

  8. Step 700

    700

    #8731A9

    oklch(49.2% 0.19 314.6)

  9. Step 800

    800

    #6D2B89

    oklch(42.7% 0.156 314.1)

  10. Step 900

    900

    #59286D

    oklch(37.7% 0.122 314.9)

  11. Step 950

    950

    #341940

    oklch(27.1% 0.076 314.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA7BD7 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)#6A90DA0.121
Deuteranopia (no green cones)#7A96D40.111
Tritanopia (no blue cones)#B8889F0.099
Achromatopsia (no color)#9494940.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7BD7

    #BA7BD7

    oklch(68.2% 0.146 314.5)

  • #71AC49

    #71AC49

    oklch(68.2% 0.145 134.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7BD7

    #BA7BD7

    oklch(68.2% 0.146 314.5)

  • #908AEF

    #908AEF

    oklch(68.2% 0.146 284.5)

  • #D671AE

    #D671AE

    oklch(68.2% 0.145 344.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA7BD7

    #BA7BD7

    oklch(68.2% 0.146 314.5)

  • #A89D00

    #A89D00

    oklch(68.4% 0.145 104.6)

  • #00B481

    #00B481

    oklch(68.2% 0.145 164.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7BD7

    #BA7BD7

    oklch(68.2% 0.146 314.5)

  • #CC8900

    #CC8900

    oklch(68.1% 0.144 74.5)

  • #00AFAF

    #00AFAF

    oklch(68.3% 0.117 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7BD7

    #BA7BD7

    oklch(68.2% 0.146 314.5)

  • #E17846

    #E17846

    oklch(68.2% 0.146 44.8)

  • #71AC49

    #71AC49

    oklch(68.2% 0.145 134.5)

  • #00A9D4

    #00A9D4

    oklch(68.3% 0.129 224.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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