#B98CEB

Closest named color: Liliac (#C48EFD). oklch(71.9% 0.141 304.9), rgb(185, 140, 235).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.141)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.01:1
White text2.62:1

Values

HEX#B98CEB
RGBrgb(185, 140, 235)
HSLhsl(268, 70%, 74%)
OKLCHoklch(71.9% 0.141 304.9)

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 #B98CEB 2.62:1 Fails Lc -56.1 Large or bold text, headings
Black text on #B98CEB 8.01:1 AAA Lc 53.0 Large or bold text, headings
#B98CEB text on white 2.62:1 Fails Lc 51.0 Large or bold text, headings
#B98CEB text on black 8.01:1 AAA Lc -50.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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E0D2F4

    oklch(88.6% 0.048 304.1)

  4. Step 300

    300

    #CEB3EF

    oklch(81% 0.088 305)

  5. Step 400

    400 (this color)

    #B98CEB

    oklch(71.9% 0.141 304.9)

  6. Step 500

    500

    #A367DF

    oklch(63.1% 0.18 304.9)

  7. Step 600

    600

    #8F4ACD

    oklch(55.6% 0.197 305.1)

  8. Step 700

    700

    #7A3AB1

    oklch(49.1% 0.182 305.3)

  9. Step 800

    800

    #633190

    oklch(42.7% 0.152 305)

  10. Step 900

    900

    #502D73

    oklch(37.7% 0.118 304.4)

  11. Step 950

    950

    #2F1B43

    oklch(27% 0.074 305)

Export this scale for Tailwind in the Tailwind colors tool

#B98CEB 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)#769EEF0.097
Deuteranopia (no green cones)#80A0E80.090
Tritanopia (no blue cones)#B19BB00.106
Achromatopsia (no color)#A0A0A00.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #B98CEB

    #B98CEB

    oklch(71.9% 0.141 304.9)

  • #90B347

    #90B347

    oklch(71.8% 0.141 125)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B98CEB

    #B98CEB

    oklch(71.9% 0.141 304.9)

  • #8B9CFC

    #8B9CFC

    oklch(72% 0.141 274.7)

  • #DA80C7

    #DA80C7

    oklch(71.9% 0.142 335.2)

Open the analogous palette in the generator

Split complementary

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

  • #B98CEB

    #B98CEB

    oklch(71.9% 0.141 304.9)

  • #C0A21C

    #C0A21C

    oklch(71.8% 0.141 94.9)

  • #4DBE7C

    #4DBE7C

    oklch(72% 0.142 154.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B98CEB

    #B98CEB

    oklch(71.9% 0.141 304.9)

  • #E09034

    #E09034

    oklch(72% 0.141 65.2)

  • #00BEAF

    #00BEAF

    oklch(72.1% 0.127 184.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B98CEB

    #B98CEB

    oklch(71.9% 0.141 304.9)

  • #EF8166

    #EF8166

    oklch(72% 0.141 34.8)

  • #90B347

    #90B347

    oklch(71.8% 0.141 125)

  • #00B8D6

    #00B8D6

    oklch(72% 0.127 214.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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