#B887FF

Closest named color: Liliac (#C48EFD). oklch(72% 0.174 301), rgb(184, 135, 255).

Aa

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

About this color

#B887FF is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.174 and its hue 301°. 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 7.94:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.174)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text7.94:1
White text2.64:1

Values

HEX#B887FF
RGBrgb(184, 135, 255)
HSLhsl(265, 100%, 76%)
OKLCHoklch(72% 0.174 301)

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 #B887FF 2.64:1 Fails Lc -56.4 Large or bold text, headings
Black text on #B887FF 7.94:1 AAA Lc 52.8 Large or bold text, headings
#B887FF text on white 2.64:1 Fails Lc 51.3 Large or bold text, headings
#B887FF text on black 7.94:1 AAA Lc -50.7 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE5FC

    oklch(93.5% 0.032 301.6)

  3. Step 200

    200

    #DFD1FB

    oklch(88.5% 0.059 300.4)

  4. Step 300

    300

    #CCB0FC

    oklch(80.8% 0.109 300.9)

  5. Step 400

    400 (this color)

    #B887FF

    oklch(72% 0.174 301)

  6. Step 500

    500

    #A35DF7

    oklch(63.2% 0.221 301.2)

  7. Step 600

    600

    #8F3AE6

    oklch(55.6% 0.241 301.2)

  8. Step 700

    700

    #7A29C8

    oklch(49.1% 0.225 301.2)

  9. Step 800

    800

    #6326A2

    oklch(42.8% 0.186 301)

  10. Step 900

    900

    #502680

    oklch(37.6% 0.144 301.1)

  11. Step 950

    950

    #2F184B

    oklch(27.1% 0.091 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#B887FF 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)#629FFF0.120
Deuteranopia (no green cones)#6E9FFC0.110
Tritanopia (no blue cones)#AA9DB70.134
Achromatopsia (no color)#9F9F9F0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #B887FF

    #B887FF

    oklch(72% 0.174 301)

  • #95B400

    #95B400

    oklch(72.1% 0.173 121.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B887FF

    #B887FF

    oklch(72% 0.174 301)

  • #849EFF

    #849EFF

    oklch(72.1% 0.144 271.1)

  • #E177D6

    #E177D6

    oklch(72% 0.175 331.2)

Open the analogous palette in the generator

Split complementary

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

  • #B887FF

    #B887FF

    oklch(72% 0.174 301)

  • #C7A000

    #C7A000

    oklch(72.1% 0.147 91.2)

  • #36C269

    #36C269

    oklch(72% 0.173 151)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B887FF

    #B887FF

    oklch(72% 0.174 301)

  • #EE8700

    #EE8700

    oklch(72% 0.168 60.7)

  • #00BFA9

    #00BFA9

    oklch(72.1% 0.13 180.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B887FF

    #B887FF

    oklch(72% 0.174 301)

  • #FF745E

    #FF745E

    oklch(72.1% 0.174 30.9)

  • #95B400

    #95B400

    oklch(72.1% 0.173 121.2)

  • #00B9D1

    #00B9D1

    oklch(72.1% 0.125 211)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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