#BA99EC

Closest named color: Baby Purple (#CA9BF7). oklch(74.4% 0.122 301.8), rgb(186, 153, 236).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text8.85:1
White text2.37:1

Values

HEX#BA99EC
RGBrgb(186, 153, 236)
HSLhsl(264, 69%, 76%)
OKLCHoklch(74.4% 0.122 301.8)

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 #BA99EC 2.37:1 Fails Lc -51.6 Large or bold text, headings
Black text on #BA99EC 8.85:1 AAA Lc 57.3 Large or bold text, headings
#BA99EC text on white 2.37:1 Fails Lc 46.7 Large or bold text, headings
#BA99EC text on black 8.85:1 AAA Lc -55.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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DED3F1

    oklch(88.5% 0.042 302.2)

  4. Step 300

    300

    #C9B6EA

    oklch(81% 0.075 301.4)

  5. Step 400

    400 (this color)

    #BA99EC

    oklch(74.4% 0.122 301.8)

  6. Step 500

    500

    #9B6FD7

    oklch(63.1% 0.156 301.6)

  7. Step 600

    600

    #8755C4

    oklch(55.7% 0.169 302)

  8. Step 700

    700

    #7244A9

    oklch(49% 0.157 301.9)

  9. Step 800

    800

    #5D3989

    oklch(42.7% 0.13 301.9)

  10. Step 900

    900

    #4C326E

    oklch(37.8% 0.102 301.7)

  11. Step 950

    950

    #2C1E40

    oklch(27% 0.063 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA99EC 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)#86A8EF0.076
Deuteranopia (no green cones)#8CA8EA0.071
Tritanopia (no blue cones)#B1A6B80.094
Achromatopsia (no color)#A8A8A80.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA99EC

    #BA99EC

    oklch(74.4% 0.122 301.8)

  • #9FB85C

    #9FB85C

    oklch(74.3% 0.122 122)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA99EC

    #BA99EC

    oklch(74.4% 0.122 301.8)

  • #91A7F9

    #91A7F9

    oklch(74.4% 0.121 271.7)

  • #D98FCE

    #D98FCE

    oklch(74.5% 0.121 332.1)

Open the analogous palette in the generator

Split complementary

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

  • #BA99EC

    #BA99EC

    oklch(74.4% 0.122 301.8)

  • #C8A947

    #C8A947

    oklch(74.4% 0.121 91.6)

  • #6CC285

    #6CC285

    oklch(74.4% 0.122 151.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA99EC

    #BA99EC

    oklch(74.4% 0.122 301.8)

  • #E39956

    #E39956

    oklch(74.3% 0.122 61.3)

  • #34C5B1

    #34C5B1

    oklch(74.4% 0.122 181.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA99EC

    #BA99EC

    oklch(74.4% 0.122 301.8)

  • #EF8E7B

    #EF8E7B

    oklch(74.5% 0.122 31.9)

  • #9FB85C

    #9FB85C

    oklch(74.3% 0.122 122)

  • #2AC0D8

    #2AC0D8

    oklch(74.4% 0.122 211.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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