#B98CFD

Closest named color: Liliac (#C48EFD). oklch(72.8% 0.164 300.8), rgb(185, 140, 253).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.164)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.23:1
White text2.55:1

Values

HEX#B98CFD
RGBrgb(185, 140, 253)
HSLhsl(264, 97%, 77%)
OKLCHoklch(72.8% 0.164 300.8)

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 #B98CFD 2.55:1 Fails Lc -54.9 Large or bold text, headings
Black text on #B98CFD 8.23:1 AAA Lc 54.2 Large or bold text, headings
#B98CFD text on white 2.55:1 Fails Lc 49.8 Large or bold text, headings
#B98CFD text on black 8.23:1 AAA Lc -52.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

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1FA

    oklch(88.5% 0.058 300.8)

  4. Step 300

    300

    #CBB1F9

    oklch(80.8% 0.103 300.7)

  5. Step 400

    400 (this color)

    #B98CFD

    oklch(72.8% 0.164 300.8)

  6. Step 500

    500

    #A161F2

    oklch(63.2% 0.21 300.9)

  7. Step 600

    600

    #8C41E0

    oklch(55.5% 0.227 300.6)

  8. Step 700

    700

    #7831C3

    oklch(49.2% 0.212 300.8)

  9. Step 800

    800

    #612B9D

    oklch(42.7% 0.174 300.8)

  10. Step 900

    900

    #4F297D

    oklch(37.7% 0.136 300.8)

  11. Step 950

    950

    #2E1949

    oklch(26.9% 0.086 300.9)

Export this scale for Tailwind in the Tailwind colors tool

#B98CFD 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)#6CA2FF0.109
Deuteranopia (no green cones)#76A1FA0.100
Tritanopia (no blue cones)#ACA0B80.127
Achromatopsia (no color)#A2A2A20.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #B98CFD

    #B98CFD

    oklch(72.8% 0.164 300.8)

  • #99B624

    #99B624

    oklch(72.9% 0.164 120.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B98CFD

    #B98CFD

    oklch(72.8% 0.164 300.8)

  • #87A1FF

    #87A1FF

    oklch(72.9% 0.14 270.9)

  • #E07DD6

    #E07DD6

    oklch(72.8% 0.164 330.9)

Open the analogous palette in the generator

Split complementary

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

  • #B98CFD

    #B98CFD

    oklch(72.8% 0.164 300.8)

  • #CAA200

    #CAA200

    oklch(72.8% 0.149 90.9)

  • #46C36F

    #46C36F

    oklch(72.8% 0.164 150.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B98CFD

    #B98CFD

    oklch(72.8% 0.164 300.8)

  • #EF8B18

    #EF8B18

    oklch(72.9% 0.164 61)

  • #00C2AC

    #00C2AC

    oklch(73% 0.132 180.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B98CFD

    #B98CFD

    oklch(72.8% 0.164 300.8)

  • #FD7A65

    #FD7A65

    oklch(72.8% 0.164 30.8)

  • #99B624

    #99B624

    oklch(72.9% 0.164 120.9)

  • #00BCD4

    #00BCD4

    oklch(72.9% 0.126 210.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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