#BA7CD5

Closest named color: Wisteria (#A87DC2). oklch(68.3% 0.142 315), rgb(186, 124, 213).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.142)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.93:1
White text3.02:1

Values

HEX#BA7CD5
RGBrgb(186, 124, 213)
HSLhsl(282, 51%, 66%)
OKLCHoklch(68.3% 0.142 315)

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 #BA7CD5 3.02:1 AA large text Lc -62.2 Content text, not long reading
Black text on #BA7CD5 6.93:1 AA Lc 47.2 Large or bold text, headings
#BA7CD5 text on white 3.02:1 AA large text Lc 56.9 Large or bold text, headings
#BA7CD5 text on black 6.93:1 AA Lc -44.9 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E6D0F0

    oklch(88.5% 0.049 315.4)

  4. Step 300

    300

    #D7B0E8

    oklch(81% 0.088 315.5)

  5. Step 400

    400 (this color)

    #BA7CD5

    oklch(68.3% 0.142 315)

  6. Step 500

    500

    #B261D3

    oklch(63.2% 0.181 315.2)

  7. Step 600

    600

    #9D43C0

    oklch(55.6% 0.197 315.1)

  8. Step 700

    700

    #8633A6

    oklch(49% 0.184 315)

  9. Step 800

    800

    #6D2C87

    oklch(42.7% 0.153 314.8)

  10. Step 900

    900

    #59296C

    oklch(37.8% 0.119 315.3)

  11. Step 950

    950

    #34193F

    oklch(27% 0.075 315.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA7CD5 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)#6C90D80.118
Deuteranopia (no green cones)#7C96D20.108
Tritanopia (no blue cones)#B8889E0.096
Achromatopsia (no color)#9494940.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7CD5

    #BA7CD5

    oklch(68.3% 0.142 315)

  • #71AC4D

    #71AC4D

    oklch(68.2% 0.142 135.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7CD5

    #BA7CD5

    oklch(68.3% 0.142 315)

  • #918BED

    #918BED

    oklch(68.4% 0.142 284.8)

  • #D672AD

    #D672AD

    oklch(68.3% 0.143 345.2)

Open the analogous palette in the generator

Split complementary

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

  • #BA7CD5

    #BA7CD5

    oklch(68.3% 0.142 315)

  • #A79D0D

    #A79D0D

    oklch(68.3% 0.142 104.9)

  • #08B483

    #08B483

    oklch(68.3% 0.142 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7CD5

    #BA7CD5

    oklch(68.3% 0.142 315)

  • #CC8A09

    #CC8A09

    oklch(68.3% 0.143 74.7)

  • #00AFAF

    #00AFAF

    oklch(68.3% 0.117 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7CD5

    #BA7CD5

    oklch(68.3% 0.142 315)

  • #E07948

    #E07948

    oklch(68.3% 0.143 44.9)

  • #71AC4D

    #71AC4D

    oklch(68.2% 0.142 135.1)

  • #00A9D5

    #00A9D5

    oklch(68.3% 0.129 224.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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