#B98FFE

Closest named color: Liliac (#C48EFD). oklch(73.4% 0.16 299.9), rgb(185, 143, 254).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.160)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.42:1
White text2.49:1

Values

HEX#B98FFE
RGBrgb(185, 143, 254)
HSLhsl(263, 98%, 78%)
OKLCHoklch(73.4% 0.16 299.9)

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 #B98FFE 2.49:1 Fails Lc -53.9 Large or bold text, headings
Black text on #B98FFE 8.42:1 AAA Lc 55.2 Large or bold text, headings
#B98FFE text on white 2.49:1 Fails Lc 48.8 Large or bold text, headings
#B98FFE text on black 8.42:1 AAA Lc -53.2 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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #ECE6FB

    oklch(93.6% 0.029 298.9)

  3. Step 200

    200

    #DED1F9

    oklch(88.4% 0.056 300.1)

  4. Step 300

    300

    #CAB2F8

    oklch(80.8% 0.1 299.9)

  5. Step 400

    400 (this color)

    #B98FFE

    oklch(73.4% 0.16 299.9)

  6. Step 500

    500

    #9E63F0

    oklch(63% 0.204 299.8)

  7. Step 600

    600

    #8A44DF

    oklch(55.6% 0.223 299.7)

  8. Step 700

    700

    #7634C2

    oklch(49.2% 0.207 299.9)

  9. Step 800

    800

    #602D9C

    oklch(42.8% 0.171 300.2)

  10. Step 900

    900

    #4E2A7C

    oklch(37.7% 0.133 300.2)

  11. Step 950

    950

    #2D1A49

    oklch(27% 0.084 299.3)

Export this scale for Tailwind in the Tailwind colors tool

#B98FFE 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)#6FA4FF0.104
Deuteranopia (no green cones)#78A3FB0.096
Tritanopia (no blue cones)#ACA3BA0.126
Achromatopsia (no color)#A4A4A40.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #B98FFE

    #B98FFE

    oklch(73.4% 0.16 299.9)

  • #9DB72A

    #9DB72A

    oklch(73.5% 0.161 119.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B98FFE

    #B98FFE

    oklch(73.4% 0.16 299.9)

  • #87A3FF

    #87A3FF

    oklch(73.3% 0.137 269.9)

  • #E081D9

    #E081D9

    oklch(73.5% 0.16 329.8)

Open the analogous palette in the generator

Split complementary

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

  • #B98FFE

    #B98FFE

    oklch(73.4% 0.16 299.9)

  • #CEA300

    #CEA300

    oklch(73.4% 0.15 89.6)

  • #4FC470

    #4FC470

    oklch(73.3% 0.16 149.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B98FFE

    #B98FFE

    oklch(73.4% 0.16 299.9)

  • #F08D26

    #F08D26

    oklch(73.4% 0.16 60.2)

  • #00C4AC

    #00C4AC

    oklch(73.5% 0.134 179.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B98FFE

    #B98FFE

    oklch(73.4% 0.16 299.9)

  • #FE7D6A

    #FE7D6A

    oklch(73.5% 0.161 30)

  • #9DB72A

    #9DB72A

    oklch(73.5% 0.161 119.9)

  • #00BED5

    #00BED5

    oklch(73.4% 0.127 210)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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