#B987F7

Closest named color: Liliac (#C48EFD). oklch(71.7% 0.164 303.1), rgb(185, 135, 247).

Aa

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

About this color

#B987F7 is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.164 and its hue 303°. 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 7.87:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.164)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text7.87:1
White text2.66:1

Values

HEX#B987F7
RGBrgb(185, 135, 247)
HSLhsl(267, 88%, 75%)
OKLCHoklch(71.7% 0.164 303.1)

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 #B987F7 2.66:1 Fails Lc -56.9 Large or bold text, headings
Black text on #B987F7 7.87:1 AAA Lc 52.3 Large or bold text, headings
#B987F7 text on white 2.66:1 Fails Lc 51.7 Large or bold text, headings
#B987F7 text on black 7.87:1 AAA Lc -50.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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE5FB

    oklch(93.5% 0.031 304.3)

  3. Step 200

    200

    #E0D1F9

    oklch(88.5% 0.057 302.3)

  4. Step 300

    300

    #CEB1F7

    oklch(81% 0.101 303.2)

  5. Step 400

    400 (this color)

    #B987F7

    oklch(71.7% 0.164 303.1)

  6. Step 500

    500

    #A55FEF

    oklch(63.1% 0.21 303.3)

  7. Step 600

    600

    #903FDD

    oklch(55.5% 0.227 303)

  8. Step 700

    700

    #7B2EC0

    oklch(49% 0.212 303.1)

  9. Step 800

    800

    #64299B

    oklch(42.7% 0.175 303.2)

  10. Step 900

    900

    #51287C

    oklch(37.7% 0.137 302.7)

  11. Step 950

    950

    #2F1948

    oklch(27% 0.085 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#B987F7 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)#689DFB0.114
Deuteranopia (no green cones)#749EF40.105
Tritanopia (no blue cones)#AE9AB30.124
Achromatopsia (no color)#9E9E9E0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #B987F7

    #B987F7

    oklch(71.7% 0.164 303.1)

  • #91B325

    #91B325

    oklch(71.7% 0.164 122.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B987F7

    #B987F7

    oklch(71.7% 0.164 303.1)

  • #869BFF

    #869BFF

    oklch(71.6% 0.147 273.2)

  • #DF79CF

    #DF79CF

    oklch(71.8% 0.164 333.2)

Open the analogous palette in the generator

Split complementary

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

  • #B987F7

    #B987F7

    oklch(71.7% 0.164 303.1)

  • #C3A000

    #C3A000

    oklch(71.7% 0.147 93.1)

  • #37C070

    #37C070

    oklch(71.6% 0.164 153)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B987F7

    #B987F7

    oklch(71.7% 0.164 303.1)

  • #E98900

    #E98900

    oklch(71.7% 0.163 63.3)

  • #00BDAB

    #00BDAB

    oklch(71.7% 0.128 183)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B987F7

    #B987F7

    oklch(71.7% 0.164 303.1)

  • #F9775D

    #F9775D

    oklch(71.7% 0.165 32.8)

  • #91B325

    #91B325

    oklch(71.7% 0.164 122.9)

  • #00B7D2

    #00B7D2

    oklch(71.6% 0.125 213.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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