#B997FE

Closest named color: Liliac (#C48EFD). oklch(74.8% 0.148 297.9), rgb(185, 151, 254).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.148)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.92:1
White text2.35:1

Values

HEX#B997FE
RGBrgb(185, 151, 254)
HSLhsl(260, 98%, 79%)
OKLCHoklch(74.8% 0.148 297.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 #B997FE 2.35:1 Fails Lc -51.2 Large or bold text, headings
Black text on #B997FE 8.92:1 AAA Lc 57.7 Large or bold text, headings
#B997FE text on white 2.35:1 Fails Lc 46.3 Large or bold text, headings
#B997FE text on black 8.92:1 AAA Lc -55.8 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6FA

    oklch(93.6% 0.027 299.5)

  3. Step 200

    200

    #DDD2F7

    oklch(88.4% 0.052 298.9)

  4. Step 300

    300

    #C7B4F5

    oklch(80.8% 0.092 297.7)

  5. Step 400

    400 (this color)

    #B997FE

    oklch(74.8% 0.148 297.9)

  6. Step 500

    500

    #9969EB

    oklch(63.1% 0.189 297.8)

  7. Step 600

    600

    #854CD9

    oklch(55.6% 0.205 297.9)

  8. Step 700

    700

    #713CBC

    oklch(49.2% 0.19 298)

  9. Step 800

    800

    #5C3398

    oklch(42.8% 0.157 298.1)

  10. Step 900

    900

    #4B2E79

    oklch(37.7% 0.123 298.1)

  11. Step 950

    950

    #2C1C47

    oklch(27.1% 0.078 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#B997FE 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)#7BA9FF0.088
Deuteranopia (no green cones)#81A8FB0.083
Tritanopia (no blue cones)#ABA9BE0.118
Achromatopsia (no color)#A9A9A90.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #B997FE

    #B997FE

    oklch(74.8% 0.148 297.9)

  • #A5B93E

    #A5B93E

    oklch(74.7% 0.148 118.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B997FE

    #B997FE

    oklch(74.8% 0.148 297.9)

  • #8AA9FF

    #8AA9FF

    oklch(74.7% 0.129 268.1)

  • #DF89DC

    #DF89DC

    oklch(74.7% 0.148 328.2)

Open the analogous palette in the generator

Split complementary

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

  • #B997FE

    #B997FE

    oklch(74.8% 0.148 297.9)

  • #D4A619

    #D4A619

    oklch(74.7% 0.148 87.8)

  • #64C676

    #64C676

    oklch(74.7% 0.147 148)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B997FE

    #B997FE

    oklch(74.8% 0.148 297.9)

  • #F29342

    #F29342

    oklch(74.9% 0.148 57.8)

  • #00C9AD

    #00C9AD

    oklch(74.8% 0.138 177.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B997FE

    #B997FE

    oklch(74.8% 0.148 297.9)

  • #FD8578

    #FD8578

    oklch(74.8% 0.148 27.6)

  • #A5B93E

    #A5B93E

    oklch(74.7% 0.148 118.1)

  • #00C3D7

    #00C3D7

    oklch(74.7% 0.128 207.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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