#BA7FCF

Closest named color: Wisteria (#A87DC2). oklch(68.5% 0.13 316.9), rgb(186, 127, 207).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (69%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text7.02:1
White text2.98:1

Values

HEX#BA7FCF
RGBrgb(186, 127, 207)
HSLhsl(284, 45%, 65%)
OKLCHoklch(68.5% 0.13 316.9)

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 #BA7FCF 2.98:1 Fails Lc -61.7 Content text, not long reading
Black text on #BA7FCF 7.02:1 AAA Lc 47.7 Large or bold text, headings
#BA7FCF text on white 2.98:1 Fails Lc 56.4 Large or bold text, headings
#BA7FCF text on black 7.02:1 AAA Lc -45.4 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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E5F5

    oklch(93.5% 0.024 315.5)

  3. Step 200

    200

    #E6D0ED

    oklch(88.4% 0.046 318)

  4. Step 300

    300

    #D6B1E4

    oklch(80.9% 0.081 316.7)

  5. Step 400

    400 (this color)

    #BA7FCF

    oklch(68.5% 0.13 316.9)

  6. Step 500

    500

    #B164CB

    oklch(63.1% 0.167 317)

  7. Step 600

    600

    #9C48B8

    oklch(55.6% 0.182 316.8)

  8. Step 700

    700

    #85399E

    oklch(49.1% 0.168 316.8)

  9. Step 800

    800

    #6C3080

    oklch(42.6% 0.139 316.8)

  10. Step 900

    900

    #582C67

    oklch(37.8% 0.108 316.8)

  11. Step 950

    950

    #341A3C

    oklch(27% 0.069 317.8)

Export this scale for Tailwind in the Tailwind colors tool

#BA7FCF 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)#7391D20.108
Deuteranopia (no green cones)#8197CD0.100
Tritanopia (no blue cones)#BA899D0.086
Achromatopsia (no color)#9595950.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7FCF

    #BA7FCF

    oklch(68.5% 0.13 316.9)

  • #72AC59

    #72AC59

    oklch(68.5% 0.13 137)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7FCF

    #BA7FCF

    oklch(68.5% 0.13 316.9)

  • #958CE6

    #958CE6

    oklch(68.5% 0.131 287)

  • #D377AA

    #D377AA

    oklch(68.6% 0.13 346.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA7FCF

    #BA7FCF

    oklch(68.5% 0.13 316.9)

  • #A49F2E

    #A49F2E

    oklch(68.6% 0.13 106.8)

  • #29B388

    #29B388

    oklch(68.5% 0.131 166.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7FCF

    #BA7FCF

    oklch(68.5% 0.13 316.9)

  • #C78E28

    #C78E28

    oklch(68.6% 0.131 76.9)

  • #00AFB2

    #00AFB2

    oklch(68.4% 0.116 197)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7FCF

    #BA7FCF

    oklch(68.5% 0.13 316.9)

  • #DA7E4F

    #DA7E4F

    oklch(68.4% 0.13 46.8)

  • #72AC59

    #72AC59

    oklch(68.5% 0.13 137)

  • #0DA9D8

    #0DA9D8

    oklch(68.6% 0.13 226.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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