#BA8FE2

Closest named color: Pale Purple (#B790D4). oklch(72.1% 0.125 307.3), rgb(186, 143, 226).

Aa

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

About this color

#BA8FE2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 72%, its chroma 0.125 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.022 away. Black text reads best on it, at 8.11:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.11:1
White text2.58:1

Values

HEX#BA8FE2
RGBrgb(186, 143, 226)
HSLhsl(271, 59%, 72%)
OKLCHoklch(72.1% 0.125 307.3)

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 #BA8FE2 2.58:1 Fails Lc -55.6 Large or bold text, headings
Black text on #BA8FE2 8.11:1 AAA Lc 53.5 Large or bold text, headings
#BA8FE2 text on white 2.58:1 Fails Lc 50.5 Large or bold text, headings
#BA8FE2 text on black 8.11:1 AAA Lc -51.5 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F6

    oklch(93.6% 0.023 308.2)

  3. Step 200

    200

    #E1D2F0

    oklch(88.5% 0.044 307.9)

  4. Step 300

    300

    #CEB4E9

    oklch(81% 0.078 307)

  5. Step 400

    400 (this color)

    #BA8FE2

    oklch(72.1% 0.125 307.3)

  6. Step 500

    500

    #A36BD4

    oklch(63.1% 0.161 307)

  7. Step 600

    600

    #8F50C1

    oklch(55.6% 0.175 307.4)

  8. Step 700

    700

    #7940A6

    oklch(49% 0.161 307.2)

  9. Step 800

    800

    #633587

    oklch(42.7% 0.135 307.5)

  10. Step 900

    900

    #502F6C

    oklch(37.6% 0.105 307)

  11. Step 950

    950

    #2F1C3F

    oklch(26.9% 0.067 307.6)

Export this scale for Tailwind in the Tailwind colors tool

#BA8FE2 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)#7E9FE50.088
Deuteranopia (no green cones)#87A1E00.082
Tritanopia (no blue cones)#B59BAE0.092
Achromatopsia (no color)#A1A1A10.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA8FE2

    #BA8FE2

    oklch(72.1% 0.125 307.3)

  • #8FB359

    #8FB359

    oklch(72% 0.125 127.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA8FE2

    #BA8FE2

    oklch(72.1% 0.125 307.3)

  • #929DF3

    #929DF3

    oklch(72.2% 0.125 277.2)

  • #D785C1

    #D785C1

    oklch(72.1% 0.126 337.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA8FE2

    #BA8FE2

    oklch(72.1% 0.125 307.3)

  • #BBA53B

    #BBA53B

    oklch(72.2% 0.126 97.3)

  • #57BC85

    #57BC85

    oklch(72% 0.125 157.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA8FE2

    #BA8FE2

    oklch(72.1% 0.125 307.3)

  • #D99445

    #D99445

    oklch(72.1% 0.126 66.9)

  • #03BEB3

    #03BEB3

    oklch(72.2% 0.126 187.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA8FE2

    #BA8FE2

    oklch(72.1% 0.125 307.3)

  • #E8876B

    #E8876B

    oklch(72.1% 0.126 36.9)

  • #8FB359

    #8FB359

    oklch(72% 0.125 127.3)

  • #19B7D8

    #19B7D8

    oklch(72% 0.125 217.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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