#B98BF8

Closest named color: Liliac (#C48EFD). oklch(72.4% 0.159 302.1), rgb(185, 139, 248).

Aa

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

About this color

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

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

Values

HEX#B98BF8
RGBrgb(185, 139, 248)
HSLhsl(265, 89%, 76%)
OKLCHoklch(72.4% 0.159 302.1)

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 #B98BF8 2.58:1 Fails Lc -55.6 Large or bold text, headings
Black text on #B98BF8 8.11:1 AAA Lc 53.6 Large or bold text, headings
#B98BF8 text on white 2.58:1 Fails Lc 50.4 Large or bold text, headings
#B98BF8 text on black 8.11:1 AAA Lc -51.5 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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #E0D1F8

    oklch(88.5% 0.055 302.8)

  4. Step 300

    300

    #CCB2F6

    oklch(80.9% 0.098 301.8)

  5. Step 400

    400 (this color)

    #B98BF8

    oklch(72.4% 0.159 302.1)

  6. Step 500

    500

    #A262ED

    oklch(63.1% 0.203 302.1)

  7. Step 600

    600

    #8E43DC

    oklch(55.7% 0.221 302)

  8. Step 700

    700

    #7933BE

    oklch(49.1% 0.205 302.3)

  9. Step 800

    800

    #622C9A

    oklch(42.7% 0.17 302)

  10. Step 900

    900

    #502A7B

    oklch(37.8% 0.133 302)

  11. Step 950

    950

    #2F1948

    oklch(27% 0.085 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#B98BF8 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)#6DA0FC0.107
Deuteranopia (no green cones)#78A1F50.100
Tritanopia (no blue cones)#AE9EB60.122
Achromatopsia (no color)#A1A1A10.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #B98BF8

    #B98BF8

    oklch(72.4% 0.159 302.1)

  • #95B52E

    #95B52E

    oklch(72.5% 0.16 122.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B98BF8

    #B98BF8

    oklch(72.4% 0.159 302.1)

  • #879FFF

    #879FFF

    oklch(72.5% 0.142 271.8)

  • #DE7DD2

    #DE7DD2

    oklch(72.4% 0.159 331.8)

Open the analogous palette in the generator

Split complementary

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

  • #B98BF8

    #B98BF8

    oklch(72.4% 0.159 302.1)

  • #C7A200

    #C7A200

    oklch(72.5% 0.148 92.4)

  • #45C272

    #45C272

    oklch(72.5% 0.16 151.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B98BF8

    #B98BF8

    oklch(72.4% 0.159 302.1)

  • #EB8B1D

    #EB8B1D

    oklch(72.4% 0.159 61.8)

  • #00C0AC

    #00C0AC

    oklch(72.5% 0.13 181.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B98BF8

    #B98BF8

    oklch(72.4% 0.159 302.1)

  • #F97B64

    #F97B64

    oklch(72.4% 0.159 31.9)

  • #95B52E

    #95B52E

    oklch(72.5% 0.16 122.3)

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

Similar named colors

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

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