#BA7FEE

Closest named color: Light Purple (#BF77F6). oklch(70% 0.166 307.1), rgb(186, 127, 238).

Aa

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

About this color

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

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

Values

HEX#BA7FEE
RGBrgb(186, 127, 238)
HSLhsl(272, 77%, 72%)
OKLCHoklch(70% 0.166 307.1)

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 #BA7FEE 2.85:1 Fails Lc -59.7 Large or bold text, headings
Black text on #BA7FEE 7.35:1 AAA Lc 49.6 Large or bold text, headings
#BA7FEE text on white 2.85:1 Fails Lc 54.4 Large or bold text, headings
#BA7FEE text on black 7.35:1 AAA Lc -47.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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #EFE5FA

    oklch(93.6% 0.03 307.1)

  3. Step 200

    200

    #E3D0F8

    oklch(88.6% 0.058 306.7)

  4. Step 300

    300

    #D2AFF5

    oklch(80.9% 0.103 307)

  5. Step 400

    400 (this color)

    #BA7FEE

    oklch(70% 0.166 307.1)

  6. Step 500

    500

    #AC5BEB

    oklch(63.1% 0.213 307.3)

  7. Step 600

    600

    #983AD9

    oklch(55.7% 0.231 307.3)

  8. Step 700

    700

    #8129BC

    oklch(49% 0.215 307.1)

  9. Step 800

    800

    #692598

    oklch(42.6% 0.178 307.3)

  10. Step 900

    900

    #552579

    oklch(37.6% 0.139 307.2)

  11. Step 950

    950

    #321747

    oklch(27% 0.088 307.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA7FEE 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)#6297F20.127
Deuteranopia (no green cones)#7299EB0.115
Tritanopia (no blue cones)#B291AB0.121
Achromatopsia (no color)#9999990.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7FEE

    #BA7FEE

    oklch(70% 0.166 307.1)

  • #82B028

    #82B028

    oklch(69.9% 0.166 127.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7FEE

    #BA7FEE

    oklch(70% 0.166 307.1)

  • #8792FF

    #8792FF

    oklch(70% 0.159 277.1)

  • #DE71C3

    #DE71C3

    oklch(70% 0.167 337.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA7FEE

    #BA7FEE

    oklch(70% 0.166 307.1)

  • #B89E00

    #B89E00

    oklch(70.1% 0.145 97.3)

  • #00BC73

    #00BC73

    oklch(70% 0.166 157)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7FEE

    #BA7FEE

    oklch(70% 0.166 307.1)

  • #DD8800

    #DD8800

    oklch(70% 0.155 66.9)

  • #00B6AB

    #00B6AB

    oklch(69.9% 0.122 187.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7FEE

    #BA7FEE

    oklch(70% 0.166 307.1)

  • #F3734D

    #F3734D

    oklch(70.1% 0.167 37.2)

  • #82B028

    #82B028

    oklch(69.9% 0.166 127.1)

  • #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 #BA7FEE, closest first.

Similar named colors

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

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