#BA7BD2

Closest named color: Wisteria (#A87DC2). oklch(68% 0.141 316.2), rgb(186, 123, 210).

Aa

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

About this color

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

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

Values

HEX#BA7BD2
RGBrgb(186, 123, 210)
HSLhsl(283, 49%, 65%)
OKLCHoklch(68% 0.141 316.2)

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 #BA7BD2 3.06:1 AA large text Lc -62.7 Content text, not long reading
Black text on #BA7BD2 6.85:1 AA Lc 46.7 Large or bold text, headings
#BA7BD2 text on white 3.06:1 AA large text Lc 57.3 Large or bold text, headings
#BA7BD2 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E6D0EF

    oklch(88.5% 0.048 316.2)

  4. Step 300

    300

    #D7AFE7

    oklch(80.8% 0.088 316.2)

  5. Step 400

    400 (this color)

    #BA7BD2

    oklch(68% 0.141 316.2)

  6. Step 500

    500

    #B361D1

    oklch(63.2% 0.179 316.2)

  7. Step 600

    600

    #9E43BE

    oklch(55.6% 0.196 316.1)

  8. Step 700

    700

    #8734A4

    oklch(49.1% 0.181 316)

  9. Step 800

    800

    #6E2C85

    oklch(42.7% 0.151 316.2)

  10. Step 900

    900

    #59296A

    oklch(37.6% 0.117 316.4)

  11. Step 950

    950

    #34193E

    oklch(27% 0.074 316.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA7BD2 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)#6C8FD50.118
Deuteranopia (no green cones)#7D95CF0.107
Tritanopia (no blue cones)#B9879D0.093
Achromatopsia (no color)#9393930.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7BD2

    #BA7BD2

    oklch(68% 0.141 316.2)

  • #6EAC4F

    #6EAC4F

    oklch(68.1% 0.142 136.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7BD2

    #BA7BD2

    oklch(68% 0.141 316.2)

  • #9289EA

    #9289EA

    oklch(67.9% 0.141 286.3)

  • #D572AA

    #D572AA

    oklch(68.1% 0.14 346.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA7BD2

    #BA7BD2

    oklch(68% 0.141 316.2)

  • #A49D14

    #A49D14

    oklch(68% 0.141 106.3)

  • #00B384

    #00B384

    oklch(68% 0.141 166)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7BD2

    #BA7BD2

    oklch(68% 0.141 316.2)

  • #C98A0A

    #C98A0A

    oklch(68% 0.141 76)

  • #00AEB0

    #00AEB0

    oklch(68.1% 0.116 196.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7BD2

    #BA7BD2

    oklch(68% 0.141 316.2)

  • #DD7946

    #DD7946

    oklch(67.9% 0.141 46.3)

  • #6EAC4F

    #6EAC4F

    oklch(68.1% 0.142 136.3)

  • #00A7D5

    #00A7D5

    oklch(67.9% 0.13 226.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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