#BA98E8

Closest named color: Pale Purple (#B790D4). oklch(74% 0.118 303.2), rgb(186, 152, 232).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.74:1
White text2.40:1

Values

HEX#BA98E8
RGBrgb(186, 152, 232)
HSLhsl(266, 63%, 75%)
OKLCHoklch(74% 0.118 303.2)

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 #BA98E8 2.40:1 Fails Lc -52.2 Large or bold text, headings
Black text on #BA98E8 8.74:1 AAA Lc 56.8 Large or bold text, headings
#BA98E8 text on white 2.40:1 Fails Lc 47.2 Large or bold text, headings
#BA98E8 text on black 8.74:1 AAA Lc -54.8 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

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DED3F0

    oklch(88.5% 0.041 302.8)

  4. Step 300

    300

    #CAB6E8

    oklch(81% 0.073 303.1)

  5. Step 400

    400 (this color)

    #BA98E8

    oklch(74% 0.118 303.2)

  6. Step 500

    500

    #9D6FD3

    oklch(63% 0.151 303.6)

  7. Step 600

    600

    #8855C0

    oklch(55.5% 0.164 303.5)

  8. Step 700

    700

    #7345A6

    oklch(49.1% 0.152 303.1)

  9. Step 800

    800

    #5E3987

    oklch(42.7% 0.127 303.3)

  10. Step 900

    900

    #4D326C

    oklch(37.7% 0.099 303.5)

  11. Step 950

    950

    #2D1E3F

    oklch(27.1% 0.062 303.5)

Export this scale for Tailwind in the Tailwind colors tool

#BA98E8 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)#86A6EB0.076
Deuteranopia (no green cones)#8DA7E60.070
Tritanopia (no blue cones)#B3A4B50.091
Achromatopsia (no color)#A7A7A70.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA98E8

    #BA98E8

    oklch(74% 0.118 303.2)

  • #9DB760

    #9DB760

    oklch(74% 0.117 123)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA98E8

    #BA98E8

    oklch(74% 0.118 303.2)

  • #92A5F5

    #92A5F5

    oklch(73.9% 0.118 273)

  • #D78ECB

    #D78ECB

    oklch(74% 0.118 332.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA98E8

    #BA98E8

    oklch(74% 0.118 303.2)

  • #C4A94A

    #C4A94A

    oklch(74% 0.118 93.4)

  • #6BC087

    #6BC087

    oklch(73.9% 0.118 153.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA98E8

    #BA98E8

    oklch(74% 0.118 303.2)

  • #DF9A57

    #DF9A57

    oklch(74.1% 0.118 63.4)

  • #38C3B2

    #38C3B2

    oklch(74.1% 0.118 183.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA98E8

    #BA98E8

    oklch(74% 0.118 303.2)

  • #EB8E7A

    #EB8E7A

    oklch(73.9% 0.118 33)

  • #9DB760

    #9DB760

    oklch(74% 0.117 123)

  • #33BED7

    #33BED7

    oklch(74.1% 0.118 212.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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