#B98CF5

Closest named color: Liliac (#C48EFD). oklch(72.4% 0.154 302.5), rgb(185, 140, 245).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.154)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.13:1
White text2.58:1

Values

HEX#B98CF5
RGBrgb(185, 140, 245)
HSLhsl(266, 84%, 75%)
OKLCHoklch(72.4% 0.154 302.5)

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 #B98CF5 2.58:1 Fails Lc -55.5 Large or bold text, headings
Black text on #B98CF5 8.13:1 AAA Lc 53.7 Large or bold text, headings
#B98CF5 text on white 2.58:1 Fails Lc 50.3 Large or bold text, headings
#B98CF5 text on black 8.13:1 AAA Lc -51.6 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

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #E0D1F7

    oklch(88.5% 0.054 303.2)

  4. Step 300

    300

    #CCB2F4

    oklch(80.9% 0.095 302.4)

  5. Step 400

    400 (this color)

    #B98CF5

    oklch(72.4% 0.154 302.5)

  6. Step 500

    500

    #A264EA

    oklch(63.2% 0.197 302.5)

  7. Step 600

    600

    #8D45D8

    oklch(55.5% 0.214 302.3)

  8. Step 700

    700

    #7835BB

    oklch(49% 0.199 302.3)

  9. Step 800

    800

    #622E97

    oklch(42.7% 0.164 302.7)

  10. Step 900

    900

    #502B78

    oklch(37.8% 0.127 302.9)

  11. Step 950

    950

    #2E1A47

    oklch(27% 0.082 301.7)

Export this scale for Tailwind in the Tailwind colors tool

#B98CF5 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)#70A0F90.104
Deuteranopia (no green cones)#7AA1F20.097
Tritanopia (no blue cones)#AE9EB50.118
Achromatopsia (no color)#A1A1A10.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #B98CF5

    #B98CF5

    oklch(72.4% 0.154 302.5)

  • #95B536

    #95B536

    oklch(72.5% 0.155 122.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B98CF5

    #B98CF5

    oklch(72.4% 0.154 302.5)

  • #889EFF

    #889EFF

    oklch(72.4% 0.143 272.7)

  • #DD7FD0

    #DD7FD0

    oklch(72.5% 0.153 332.3)

Open the analogous palette in the generator

Split complementary

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

  • #B98CF5

    #B98CF5

    oklch(72.4% 0.154 302.5)

  • #C7A200

    #C7A200

    oklch(72.5% 0.148 92.4)

  • #49C175

    #49C175

    oklch(72.5% 0.154 152.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B98CF5

    #B98CF5

    oklch(72.4% 0.154 302.5)

  • #E98D26

    #E98D26

    oklch(72.5% 0.154 62.5)

  • #00C0AD

    #00C0AD

    oklch(72.5% 0.129 182.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B98CF5

    #B98CF5

    oklch(72.4% 0.154 302.5)

  • #F77D65

    #F77D65

    oklch(72.4% 0.154 32.5)

  • #95B536

    #95B536

    oklch(72.5% 0.155 122.7)

  • #00BAD4

    #00BAD4

    oklch(72.4% 0.126 212.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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