#B98EFF

Closest named color: Liliac (#C48EFD). oklch(73.3% 0.163 300), rgb(185, 142, 255).

Aa

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

About this color

#B98EFF is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.163 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.018 away. Black text reads best on it, at 8.37:1.

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

Values

HEX#B98EFF
RGBrgb(185, 142, 255)
HSLhsl(263, 100%, 78%)
OKLCHoklch(73.3% 0.163 300)

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 #B98EFF 2.50:1 Fails Lc -54.1 Large or bold text, headings
Black text on #B98EFF 8.37:1 AAA Lc 55.0 Large or bold text, headings
#B98EFF text on white 2.50:1 Fails Lc 49.0 Large or bold text, headings
#B98EFF text on black 8.37:1 AAA Lc -52.9 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

    #F7F4FE

    oklch(97.2% 0.014 299.8)

  2. Step 100

    100

    #ECE6FB

    oklch(93.6% 0.029 298.9)

  3. Step 200

    200

    #DED1FA

    oklch(88.4% 0.057 299.7)

  4. Step 300

    300

    #CAB2F9

    oklch(80.9% 0.101 299.6)

  5. Step 400

    400 (this color)

    #B98EFF

    oklch(73.3% 0.163 300)

  6. Step 500

    500

    #9F62F2

    oklch(63.1% 0.208 300)

  7. Step 600

    600

    #8B42E1

    oklch(55.6% 0.227 299.9)

  8. Step 700

    700

    #7632C3

    oklch(49.1% 0.21 299.9)

  9. Step 800

    800

    #602B9E

    oklch(42.7% 0.175 300)

  10. Step 900

    900

    #4E297D

    oklch(37.6% 0.136 300.1)

  11. Step 950

    950

    #2E1949

    oklch(26.9% 0.086 300.9)

Export this scale for Tailwind in the Tailwind colors tool

#B98EFF 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)#6DA3FF0.107
Deuteranopia (no green cones)#77A3FC0.098
Tritanopia (no blue cones)#ABA2BA0.128
Achromatopsia (no color)#A4A4A40.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #B98EFF

    #B98EFF

    oklch(73.3% 0.163 300)

  • #9CB624

    #9CB624

    oklch(73.2% 0.163 119.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B98EFF

    #B98EFF

    oklch(73.3% 0.163 300)

  • #87A3FF

    #87A3FF

    oklch(73.3% 0.137 269.9)

  • #E07FD9

    #E07FD9

    oklch(73.2% 0.163 329.8)

Open the analogous palette in the generator

Split complementary

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

  • #B98EFF

    #B98EFF

    oklch(73.3% 0.163 300)

  • #CDA300

    #CDA300

    oklch(73.3% 0.15 90.1)

  • #4CC46F

    #4CC46F

    oklch(73.2% 0.162 150)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B98EFF

    #B98EFF

    oklch(73.3% 0.163 300)

  • #F18C20

    #F18C20

    oklch(73.3% 0.163 60.1)

  • #00C3AC

    #00C3AC

    oklch(73.2% 0.133 180.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B98EFF

    #B98EFF

    oklch(73.3% 0.163 300)

  • #FE7C69

    #FE7C69

    oklch(73.3% 0.162 30)

  • #9CB624

    #9CB624

    oklch(73.2% 0.163 119.9)

  • #00BDD4

    #00BDD4

    oklch(73.2% 0.127 210.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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