#B98BFB

Closest named color: Liliac (#C48EFD). oklch(72.6% 0.163 301.4), rgb(185, 139, 251).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.163)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.14:1
White text2.57:1

Values

HEX#B98BFB
RGBrgb(185, 139, 251)
HSLhsl(265, 93%, 76%)
OKLCHoklch(72.6% 0.163 301.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 #B98BFB 2.57:1 Fails Lc -55.3 Large or bold text, headings
Black text on #B98BFB 8.14:1 AAA Lc 53.8 Large or bold text, headings
#B98BFB text on white 2.57:1 Fails Lc 50.2 Large or bold text, headings
#B98BFB text on black 8.14:1 AAA Lc -51.7 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

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1F9

    oklch(88.5% 0.056 301.2)

  4. Step 300

    300

    #CCB1F8

    oklch(80.8% 0.102 301.6)

  5. Step 400

    400 (this color)

    #B98BFB

    oklch(72.6% 0.163 301.4)

  6. Step 500

    500

    #A161F0

    oklch(63% 0.208 301.3)

  7. Step 600

    600

    #8D41DF

    oklch(55.6% 0.226 301.2)

  8. Step 700

    700

    #7831C1

    oklch(49.1% 0.21 301.3)

  9. Step 800

    800

    #622B9C

    oklch(42.7% 0.173 301.6)

  10. Step 900

    900

    #4F297C

    oklch(37.6% 0.135 301.2)

  11. Step 950

    950

    #2E1949

    oklch(26.9% 0.086 300.9)

Export this scale for Tailwind in the Tailwind colors tool

#B98BFB 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)#6BA1FF0.110
Deuteranopia (no green cones)#76A1F80.101
Tritanopia (no blue cones)#AD9FB70.126
Achromatopsia (no color)#A1A1A10.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #B98BFB

    #B98BFB

    oklch(72.6% 0.163 301.4)

  • #97B526

    #97B526

    oklch(72.6% 0.163 121.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B98BFB

    #B98BFB

    oklch(72.6% 0.163 301.4)

  • #87A0FF

    #87A0FF

    oklch(72.7% 0.141 271.4)

  • #E07DD4

    #E07DD4

    oklch(72.7% 0.162 331.7)

Open the analogous palette in the generator

Split complementary

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

  • #B98BFB

    #B98BFB

    oklch(72.6% 0.163 301.4)

  • #C9A200

    #C9A200

    oklch(72.7% 0.149 91.4)

  • #44C270

    #44C270

    oklch(72.5% 0.162 151.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B98BFB

    #B98BFB

    oklch(72.6% 0.163 301.4)

  • #ED8B16

    #ED8B16

    oklch(72.6% 0.162 61.8)

  • #00C0AC

    #00C0AC

    oklch(72.5% 0.13 181.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B98BFB

    #B98BFB

    oklch(72.6% 0.163 301.4)

  • #FC7A64

    #FC7A64

    oklch(72.7% 0.163 31.2)

  • #97B526

    #97B526

    oklch(72.6% 0.163 121.4)

  • #00BBD3

    #00BBD3

    oklch(72.6% 0.126 210.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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