#B98CEA

Closest named color: Liliac (#C48EFD). oklch(71.9% 0.14 305.2), rgb(185, 140, 234).

Aa

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

About this color

#B98CEA is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.140 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.033 away. Black text reads best on it, at 8.00:1.

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

Values

HEX#B98CEA
RGBrgb(185, 140, 234)
HSLhsl(269, 69%, 73%)
OKLCHoklch(71.9% 0.14 305.2)

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 #B98CEA 2.62:1 Fails Lc -56.2 Large or bold text, headings
Black text on #B98CEA 8.00:1 AAA Lc 53.0 Large or bold text, headings
#B98CEA text on white 2.62:1 Fails Lc 51.0 Large or bold text, headings
#B98CEA text on black 8.00: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

    #CEB3EE

    oklch(81% 0.086 305.4)

  5. Step 400

    400 (this color)

    #B98CEA

    oklch(71.9% 0.14 305.2)

  6. Step 500

    500

    #A367DE

    oklch(63% 0.179 305.1)

  7. Step 600

    600

    #8F4BCC

    oklch(55.7% 0.194 305.2)

  8. Step 700

    700

    #7A3BB0

    oklch(49.2% 0.18 305.4)

  9. Step 800

    800

    #63328F

    oklch(42.8% 0.149 305.1)

  10. Step 900

    900

    #502D72

    oklch(37.6% 0.116 304.8)

  11. Step 950

    950

    #2F1B43

    oklch(27% 0.074 305)

Export this scale for Tailwind in the Tailwind colors tool

#B98CEA 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)#769EEE0.097
Deuteranopia (no green cones)#80A0E70.091
Tritanopia (no blue cones)#B19BB00.105
Achromatopsia (no color)#A0A0A00.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #B98CEA

    #B98CEA

    oklch(71.9% 0.14 305.2)

  • #90B349

    #90B349

    oklch(71.9% 0.14 125.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B98CEA

    #B98CEA

    oklch(71.9% 0.14 305.2)

  • #8C9BFB

    #8C9BFB

    oklch(71.8% 0.14 275.6)

  • #D980C7

    #D980C7

    oklch(71.8% 0.141 334.8)

Open the analogous palette in the generator

Split complementary

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

  • #B98CEA

    #B98CEA

    oklch(71.9% 0.14 305.2)

  • #C0A21F

    #C0A21F

    oklch(71.8% 0.14 94.8)

  • #4DBE7D

    #4DBE7D

    oklch(72% 0.141 155.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B98CEA

    #B98CEA

    oklch(71.9% 0.14 305.2)

  • #DF9035

    #DF9035

    oklch(71.9% 0.14 65.4)

  • #00BDAF

    #00BDAF

    oklch(71.8% 0.126 185.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B98CEA

    #B98CEA

    oklch(71.9% 0.14 305.2)

  • #EE8166

    #EE8166

    oklch(71.9% 0.14 34.9)

  • #90B349

    #90B349

    oklch(71.9% 0.14 125.2)

  • #00B7D6

    #00B7D6

    oklch(71.8% 0.127 215.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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