#BA7FFC

Closest named color: Light Purple (#BF77F6). oklch(70.8% 0.183 303.9), rgb(186, 127, 252).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.183)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.52:1
White text2.78:1

Values

HEX#BA7FFC
RGBrgb(186, 127, 252)
HSLhsl(268, 95%, 74%)
OKLCHoklch(70.8% 0.183 303.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 #BA7FFC 2.78:1 Fails Lc -58.7 Large or bold text, headings
Black text on #BA7FFC 7.52:1 AAA Lc 50.6 Large or bold text, headings
#BA7FFC text on white 2.78:1 Fails Lc 53.5 Large or bold text, headings
#BA7FFC text on black 7.52:1 AAA Lc -48.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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FC

    oklch(93.6% 0.032 303.5)

  3. Step 200

    200

    #E2CFFC

    oklch(88.4% 0.064 304.3)

  4. Step 300

    300

    #D0AEFD

    oklch(80.8% 0.115 303.7)

  5. Step 400

    400 (this color)

    #BA7FFC

    oklch(70.8% 0.183 303.9)

  6. Step 500

    500

    #A956F9

    oklch(63.1% 0.234 303.7)

  7. Step 600

    600

    #962FE8

    oklch(55.6% 0.255 304)

  8. Step 700

    700

    #801ECA

    oklch(49.2% 0.236 303.9)

  9. Step 800

    800

    #681EA3

    oklch(42.8% 0.196 304)

  10. Step 900

    900

    #542281

    oklch(37.7% 0.152 303.9)

  11. Step 950

    950

    #31164C

    oklch(27.1% 0.096 303.6)

Export this scale for Tailwind in the Tailwind colors tool

#BA7FFC 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)#5899FF0.135
Deuteranopia (no green cones)#699BF90.123
Tritanopia (no blue cones)#AF95B20.136
Achromatopsia (no color)#9B9B9B0.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA7FFC

    #BA7FFC

    oklch(70.8% 0.183 303.9)

  • #8BB200

    #8BB200

    oklch(70.9% 0.176 123.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA7FFC

    #BA7FFC

    oklch(70.8% 0.183 303.9)

  • #8497FF

    #8497FF

    oklch(70.7% 0.153 274)

  • #E26FCF

    #E26FCF

    oklch(70.8% 0.182 334)

Open the analogous palette in the generator

Split complementary

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

  • #BA7FFC

    #BA7FFC

    oklch(70.8% 0.183 303.9)

  • #BF9E00

    #BF9E00

    oklch(70.8% 0.145 93.9)

  • #00C06A

    #00C06A

    oklch(70.9% 0.179 153.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA7FFC

    #BA7FFC

    oklch(70.8% 0.183 303.9)

  • #E48700

    #E48700

    oklch(70.7% 0.16 63.9)

  • #00BAA9

    #00BAA9

    oklch(70.9% 0.126 183.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA7FFC

    #BA7FFC

    oklch(70.8% 0.183 303.9)

  • #FE6D4E

    #FE6D4E

    oklch(70.8% 0.184 33.7)

  • #8BB200

    #8BB200

    oklch(70.9% 0.176 123.9)

  • #00B4D0

    #00B4D0

    oklch(70.8% 0.124 214)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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