#BA7FF1

Closest named color: Light Purple (#BF77F6). oklch(70.2% 0.17 306.4), rgb(186, 127, 241).

Aa

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

About this color

#BA7FF1 is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.170 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.021 away. Black text reads best on it, at 7.39:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.170)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.39:1
White text2.84:1

Values

HEX#BA7FF1
RGBrgb(186, 127, 241)
HSLhsl(271, 80%, 72%)
OKLCHoklch(70.2% 0.17 306.4)

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 #BA7FF1 2.84:1 Fails Lc -59.5 Large or bold text, headings
Black text on #BA7FF1 7.39:1 AAA Lc 49.8 Large or bold text, headings
#BA7FF1 text on white 2.84:1 Fails Lc 54.2 Large or bold text, headings
#BA7FF1 text on black 7.39:1 AAA Lc -47.6 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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #EFE5FB

    oklch(93.6% 0.031 306.2)

  3. Step 200

    200

    #E3D0F9

    oklch(88.6% 0.059 306.2)

  4. Step 300

    300

    #D2AFF7

    oklch(81% 0.106 306.4)

  5. Step 400

    400 (this color)

    #BA7FF1

    oklch(70.2% 0.17 306.4)

  6. Step 500

    500

    #AB5AEE

    oklch(63% 0.217 306.3)

  7. Step 600

    600

    #9738DC

    oklch(55.6% 0.235 306.4)

  8. Step 700

    700

    #8127BF

    oklch(49.1% 0.22 306.5)

  9. Step 800

    800

    #69249B

    oklch(42.8% 0.182 306.4)

  10. Step 900

    900

    #55257B

    oklch(37.7% 0.141 306.4)

  11. Step 950

    950

    #321748

    oklch(27% 0.09 306.8)

Export this scale for Tailwind in the Tailwind colors tool

#BA7FF1 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)#6097F50.128
Deuteranopia (no green cones)#709AEE0.117
Tritanopia (no blue cones)#B292AD0.124
Achromatopsia (no color)#9999990.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7FF1

    #BA7FF1

    oklch(70.2% 0.17 306.4)

  • #84B11F

    #84B11F

    oklch(70.3% 0.17 126.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7FF1

    #BA7FF1

    oklch(70.2% 0.17 306.4)

  • #8693FF

    #8693FF

    oklch(70.1% 0.158 276.4)

  • #DF71C6

    #DF71C6

    oklch(70.3% 0.17 336.6)

Open the analogous palette in the generator

Split complementary

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

  • #BA7FF1

    #BA7FF1

    oklch(70.2% 0.17 306.4)

  • #B99E00

    #B99E00

    oklch(70.2% 0.145 96.8)

  • #00BD71

    #00BD71

    oklch(70.2% 0.17 156.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7FF1

    #BA7FF1

    oklch(70.2% 0.17 306.4)

  • #DE8800

    #DE8800

    oklch(70.1% 0.155 66.6)

  • #00B7AB

    #00B7AB

    oklch(70.2% 0.123 186.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7FF1

    #BA7FF1

    oklch(70.2% 0.17 306.4)

  • #F5724D

    #F5724D

    oklch(70.2% 0.17 36.6)

  • #84B11F

    #84B11F

    oklch(70.3% 0.17 126.4)

  • #00B1D1

    #00B1D1

    oklch(70.1% 0.125 216.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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