#BA9FF4

Closest named color: Baby Purple (#CA9BF7). oklch(75.8% 0.122 298), rgb(186, 159, 244).

Aa

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

About this color

#BA9FF4 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.122 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.026 away. Black text reads best on it, at 9.35:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.35:1
White text2.24:1

Values

HEX#BA9FF4
RGBrgb(186, 159, 244)
HSLhsl(259, 79%, 79%)
OKLCHoklch(75.8% 0.122 298)

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 #BA9FF4 2.24:1 Fails Lc -49.0 Large or bold text, headings
Black text on #BA9FF4 9.35:1 AAA Lc 59.8 Large or bold text, headings
#BA9FF4 text on white 2.24:1 Fails Lc 44.2 Non-text elements, placeholder text
#BA9FF4 text on black 9.35:1 AAA Lc -58.0 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 300.

  1. Step 50

    50

    #F6F3FF

    oklch(97% 0.016 297.5)

  2. Step 100

    100

    #ECE5FF

    oklch(93.5% 0.036 298)

  3. Step 200

    200

    #DED1FF

    oklch(88.6% 0.064 298)

  4. Step 300

    300 (this color)

    #BA9FF4

    oklch(75.8% 0.122 298)

  5. Step 400

    400

    #AF84FF

    oklch(70.7% 0.177 297.9)

  6. Step 500

    500

    #9E5CFF

    oklch(63.1% 0.231 298.1)

  7. Step 600

    600

    #8D2AF8

    oklch(55.5% 0.272 298.1)

  8. Step 700

    700

    #7816D9

    oklch(49.1% 0.253 297.8)

  9. Step 800

    800

    #611AAF

    oklch(42.6% 0.209 297.8)

  10. Step 900

    900

    #4F208A

    oklch(37.6% 0.163 298.2)

  11. Step 950

    950

    #2E1551

    oklch(27% 0.104 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA9FF4 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)#8AADF70.069
Deuteranopia (no green cones)#8EACF20.065
Tritanopia (no blue cones)#AFADBE0.098
Achromatopsia (no color)#ADADAD0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA9FF4

    #BA9FF4

    oklch(75.8% 0.122 298)

  • #AABB5C

    #AABB5C

    oklch(75.9% 0.122 117.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA9FF4

    #BA9FF4

    oklch(75.8% 0.122 298)

  • #8FADFF

    #8FADFF

    oklch(75.8% 0.123 268.1)

  • #DB94D8

    #DB94D8

    oklch(75.9% 0.123 328.2)

Open the analogous palette in the generator

Split complementary

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

  • #BA9FF4

    #BA9FF4

    oklch(75.8% 0.122 298)

  • #D1AC4B

    #D1AC4B

    oklch(75.9% 0.122 88.2)

  • #77C684

    #77C684

    oklch(75.8% 0.122 148.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA9FF4

    #BA9FF4

    oklch(75.8% 0.122 298)

  • #EA9C5E

    #EA9C5E

    oklch(75.8% 0.122 58)

  • #40CAB1

    #40CAB1

    oklch(75.9% 0.122 178.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA9FF4

    #BA9FF4

    oklch(75.8% 0.122 298)

  • #F49184

    #F49184

    oklch(75.7% 0.122 28.2)

  • #AABB5C

    #AABB5C

    oklch(75.9% 0.122 117.8)

  • #2CC6D9

    #2CC6D9

    oklch(75.9% 0.122 207.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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