#BB98FF

Closest named color: Liliac (#C48EFD). oklch(75.2% 0.148 298.4), rgb(187, 152, 255).

Aa

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

About this color

#BB98FF is a medium-light, vivid purple. In OKLCH its lightness is 75%, its chroma 0.148 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.026 away. Black text reads best on it, at 9.04:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.148)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text9.04:1
White text2.32:1

Values

HEX#BB98FF
RGBrgb(187, 152, 255)
HSLhsl(260, 100%, 80%)
OKLCHoklch(75.2% 0.148 298.4)

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 #BB98FF 2.32:1 Fails Lc -50.5 Large or bold text, headings
Black text on #BB98FF 9.04:1 AAA Lc 58.3 Large or bold text, headings
#BB98FF text on white 2.32:1 Fails Lc 45.6 Large or bold text, headings
#BB98FF text on black 9.04:1 AAA Lc -56.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6FA

    oklch(93.6% 0.027 299.5)

  3. Step 200

    200

    #DDD2F7

    oklch(88.4% 0.052 298.9)

  4. Step 300

    300

    #C8B4F5

    oklch(80.9% 0.093 298.4)

  5. Step 400

    400 (this color)

    #BB98FF

    oklch(75.2% 0.148 298.4)

  6. Step 500

    500

    #9A69EA

    oklch(63.1% 0.188 298.4)

  7. Step 600

    600

    #864CD8

    oklch(55.7% 0.204 298.6)

  8. Step 700

    700

    #723BBC

    oklch(49.1% 0.192 298.6)

  9. Step 800

    800

    #5C3298

    oklch(42.6% 0.159 298.3)

  10. Step 900

    900

    #4B2E79

    oklch(37.7% 0.123 298.1)

  11. Step 950

    950

    #2C1C47

    oklch(27.1% 0.078 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#BB98FF 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)#7CAAFF0.090
Deuteranopia (no green cones)#82A9FC0.084
Tritanopia (no blue cones)#AEAABF0.118
Achromatopsia (no color)#AAAAAA0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #BB98FF

    #BB98FF

    oklch(75.2% 0.148 298.4)

  • #A6BB40

    #A6BB40

    oklch(75.2% 0.148 118.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BB98FF

    #BB98FF

    oklch(75.2% 0.148 298.4)

  • #8DABFF

    #8DABFF

    oklch(75.3% 0.126 268.3)

  • #E18ADD

    #E18ADD

    oklch(75.1% 0.149 328.6)

Open the analogous palette in the generator

Split complementary

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

  • #BB98FF

    #BB98FF

    oklch(75.2% 0.148 298.4)

  • #D5A81C

    #D5A81C

    oklch(75.2% 0.148 88.3)

  • #64C878

    #64C878

    oklch(75.2% 0.148 148.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BB98FF

    #BB98FF

    oklch(75.2% 0.148 298.4)

  • #F39442

    #F39442

    oklch(75.2% 0.148 58.1)

  • #00CAAF

    #00CAAF

    oklch(75.1% 0.138 178.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BB98FF

    #BB98FF

    oklch(75.2% 0.148 298.4)

  • #FE8778

    #FE8778

    oklch(75.2% 0.147 28.5)

  • #A6BB40

    #A6BB40

    oklch(75.2% 0.148 118.4)

  • #00C4DA

    #00C4DA

    oklch(75.1% 0.129 209)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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