#BA71F0

Closest named color: Light Urple (#B36FF6). oklch(68% 0.191 308.7), rgb(186, 113, 240).

Aa

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

About this color

#BA71F0 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.191 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.017 away. Black text reads best on it, at 6.70:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.191)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.70:1
White text3.13:1

Values

HEX#BA71F0
RGBrgb(186, 113, 240)
HSLhsl(274, 81%, 69%)
OKLCHoklch(68% 0.191 308.7)

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 #BA71F0 3.13:1 AA large text Lc -63.4 Content text, not long reading
Black text on #BA71F0 6.70:1 AA Lc 46.1 Large or bold text, headings
#BA71F0 text on white 3.13:1 AA large text Lc 58.0 Large or bold text, headings
#BA71F0 text on black 6.70:1 AA Lc -43.8 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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #F0E4FC

    oklch(93.5% 0.034 308.1)

  3. Step 200

    200

    #E6CEFB

    oklch(88.5% 0.066 309)

  4. Step 300

    300

    #D7ABFB

    oklch(80.9% 0.119 309)

  5. Step 400

    400 (this color)

    #BA71F0

    oklch(68% 0.191 308.7)

  6. Step 500

    500

    #B44EF6

    oklch(63.2% 0.243 308.8)

  7. Step 600

    600

    #A020E5

    oklch(55.7% 0.265 308.8)

  8. Step 700

    700

    #8908C7

    oklch(49.2% 0.246 308.8)

  9. Step 800

    800

    #6F13A1

    oklch(42.8% 0.204 308.7)

  10. Step 900

    900

    #5A1C80

    oklch(37.8% 0.159 308.7)

  11. Step 950

    950

    #34134B

    oklch(27% 0.101 308.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA71F0 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)#4B8EF40.155
Deuteranopia (no green cones)#6393ED0.140
Tritanopia (no blue cones)#B387A60.135
Achromatopsia (no color)#9292920.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA71F0

    #BA71F0

    oklch(68% 0.191 308.7)

  • #76AC00

    #76AC00

    oklch(68.1% 0.18 128.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA71F0

    #BA71F0

    oklch(68% 0.191 308.7)

  • #8389FF

    #8389FF

    oklch(68% 0.171 278.6)

  • #E061BF

    #E061BF

    oklch(68% 0.19 338.8)

Open the analogous palette in the generator

Split complementary

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

  • #BA71F0

    #BA71F0

    oklch(68% 0.191 308.7)

  • #AF9800

    #AF9800

    oklch(68% 0.141 98.4)

  • #00B473

    #00B473

    oklch(67.9% 0.157 158.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA71F0

    #BA71F0

    oklch(68% 0.191 308.7)

  • #D28400

    #D28400

    oklch(67.9% 0.148 68.8)

  • #00AFA7

    #00AFA7

    oklch(68% 0.118 189)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA71F0

    #BA71F0

    oklch(68% 0.191 308.7)

  • #F56330

    #F56330

    oklch(67.9% 0.19 38.5)

  • #76AC00

    #76AC00

    oklch(68.1% 0.18 128.6)

  • #00A9CB

    #00A9CB

    oklch(67.9% 0.123 219)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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