#BB98FE

Closest named color: Liliac (#C48EFD). oklch(75.1% 0.147 298.6), rgb(187, 152, 254).

Aa

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

About this color

#BB98FE is a medium-light, vivid purple. In OKLCH its lightness is 75%, its chroma 0.147 and its hue 299°. 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.03:1.

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

Values

HEX#BB98FE
RGBrgb(187, 152, 254)
HSLhsl(261, 98%, 80%)
OKLCHoklch(75.1% 0.147 298.6)

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 #BB98FE 2.32:1 Fails Lc -50.6 Large or bold text, headings
Black text on #BB98FE 9.03:1 AAA Lc 58.3 Large or bold text, headings
#BB98FE text on white 2.32:1 Fails Lc 45.7 Large or bold text, headings
#BB98FE text on black 9.03: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

    #C8B4F4

    oklch(80.9% 0.091 298.7)

  5. Step 400

    400 (this color)

    #BB98FE

    oklch(75.1% 0.147 298.6)

  6. Step 500

    500

    #9A69E9

    oklch(63.1% 0.187 298.6)

  7. Step 600

    600

    #864CD7

    oklch(55.6% 0.203 298.8)

  8. Step 700

    700

    #723CBB

    oklch(49.2% 0.189 298.7)

  9. Step 800

    800

    #5C3397

    oklch(42.7% 0.156 298.4)

  10. Step 900

    900

    #4B2E78

    oklch(37.7% 0.122 298.4)

  11. Step 950

    950

    #2C1C46

    oklch(27% 0.076 298.8)

Export this scale for Tailwind in the Tailwind colors tool

#BB98FE 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)#83A9FB0.083
Tritanopia (no blue cones)#AEAABF0.117
Achromatopsia (no color)#AAAAAA0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #BB98FE

    #BB98FE

    oklch(75.1% 0.147 298.6)

  • #A5BB42

    #A5BB42

    oklch(75.2% 0.147 118.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BB98FE

    #BB98FE

    oklch(75.1% 0.147 298.6)

  • #8DAAFF

    #8DAAFF

    oklch(75.1% 0.127 268.9)

  • #E08BDC

    #E08BDC

    oklch(75.2% 0.146 328.6)

Open the analogous palette in the generator

Split complementary

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

  • #BB98FE

    #BB98FE

    oklch(75.1% 0.147 298.6)

  • #D4A81F

    #D4A81F

    oklch(75.1% 0.147 88.6)

  • #64C879

    #64C879

    oklch(75.3% 0.147 148.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BB98FE

    #BB98FE

    oklch(75.1% 0.147 298.6)

  • #F29543

    #F29543

    oklch(75.2% 0.147 58.8)

  • #00CAAF

    #00CAAF

    oklch(75.1% 0.138 178.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BB98FE

    #BB98FE

    oklch(75.1% 0.147 298.6)

  • #FD8778

    #FD8778

    oklch(75.1% 0.146 28.5)

  • #A5BB42

    #A5BB42

    oklch(75.2% 0.147 118.9)

  • #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 #BB98FE, closest first.

Similar named colors

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

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