#B997FA

Closest named color: Liliac (#C48EFD). oklch(74.6% 0.143 298.7), rgb(185, 151, 250).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.143)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.86:1
White text2.36:1

Values

HEX#B997FA
RGBrgb(185, 151, 250)
HSLhsl(261, 91%, 79%)
OKLCHoklch(74.6% 0.143 298.7)

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 #B997FA 2.36:1 Fails Lc -51.5 Large or bold text, headings
Black text on #B997FA 8.86:1 AAA Lc 57.4 Large or bold text, headings
#B997FA text on white 2.36:1 Fails Lc 46.6 Large or bold text, headings
#B997FA text on black 8.86:1 AAA Lc -55.5 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

    #ECE6F9

    oklch(93.5% 0.026 300.3)

  3. Step 200

    200

    #DDD3F6

    oklch(88.6% 0.049 298.5)

  4. Step 300

    300

    #C8B4F3

    oklch(80.8% 0.09 298.9)

  5. Step 400

    400 (this color)

    #B997FA

    oklch(74.6% 0.143 298.7)

  6. Step 500

    500

    #9A6AE7

    oklch(63.1% 0.183 298.8)

  7. Step 600

    600

    #854ED5

    oklch(55.6% 0.198 298.5)

  8. Step 700

    700

    #713DB8

    oklch(49% 0.185 298.8)

  9. Step 800

    800

    #5C3495

    oklch(42.7% 0.152 298.7)

  10. Step 900

    900

    #4B2F77

    oklch(37.7% 0.119 298.5)

  11. Step 950

    950

    #2C1C46

    oklch(27% 0.076 298.8)

Export this scale for Tailwind in the Tailwind colors tool

#B997FA 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)#7DA8FE0.085
Deuteranopia (no green cones)#83A8F70.081
Tritanopia (no blue cones)#ACA8BD0.113
Achromatopsia (no color)#A8A8A80.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #B997FA

    #B997FA

    oklch(74.6% 0.143 298.7)

  • #A4B944

    #A4B944

    oklch(74.7% 0.143 118.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B997FA

    #B997FA

    oklch(74.6% 0.143 298.7)

  • #8BA8FF

    #8BA8FF

    oklch(74.5% 0.13 269.1)

  • #DD8AD9

    #DD8AD9

    oklch(74.5% 0.143 328.6)

Open the analogous palette in the generator

Split complementary

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

  • #B997FA

    #B997FA

    oklch(74.6% 0.143 298.7)

  • #D1A726

    #D1A726

    oklch(74.6% 0.143 89)

  • #65C579

    #65C579

    oklch(74.6% 0.142 148.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B997FA

    #B997FA

    oklch(74.6% 0.143 298.7)

  • #EE9445

    #EE9445

    oklch(74.6% 0.143 58.9)

  • #00C8AE

    #00C8AE

    oklch(74.6% 0.136 178.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B997FA

    #B997FA

    oklch(74.6% 0.143 298.7)

  • #FA8778

    #FA8778

    oklch(74.7% 0.143 28.7)

  • #A4B944

    #A4B944

    oklch(74.7% 0.143 118.7)

  • #00C2D8

    #00C2D8

    oklch(74.5% 0.129 209.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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