#B787FB

Closest named color: Liliac (#C48EFD). oklch(71.7% 0.169 301.4), rgb(183, 135, 251).

Aa

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

About this color

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

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

Values

HEX#B787FB
RGBrgb(183, 135, 251)
HSLhsl(265, 94%, 76%)
OKLCHoklch(71.7% 0.169 301.4)

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 #B787FB 2.66:1 Fails Lc -56.9 Large or bold text, headings
Black text on #B787FB 7.87:1 AAA Lc 52.4 Large or bold text, headings
#B787FB text on white 2.66:1 Fails Lc 51.7 Large or bold text, headings
#B787FB 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE6FC

    oklch(93.7% 0.03 300.3)

  3. Step 200

    200

    #E0D1FA

    oklch(88.6% 0.058 301.9)

  4. Step 300

    300

    #CCB1FA

    oklch(80.9% 0.105 301.1)

  5. Step 400

    400 (this color)

    #B787FB

    oklch(71.7% 0.169 301.4)

  6. Step 500

    500

    #A25FF4

    oklch(63.1% 0.215 301.1)

  7. Step 600

    600

    #8E3DE2

    oklch(55.5% 0.234 301.4)

  8. Step 700

    700

    #792DC5

    oklch(49.1% 0.218 301.2)

  9. Step 800

    800

    #62289F

    oklch(42.6% 0.18 301.1)

  10. Step 900

    900

    #50277E

    oklch(37.6% 0.141 301.6)

  11. Step 950

    950

    #2F184A

    oklch(27% 0.09 301.9)

Export this scale for Tailwind in the Tailwind colors tool

#B787FB 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)#659EFF0.115
Deuteranopia (no green cones)#709EF80.106
Tritanopia (no blue cones)#AA9CB50.130
Achromatopsia (no color)#9E9E9E0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #B787FB

    #B787FB

    oklch(71.7% 0.169 301.4)

  • #94B313

    #94B313

    oklch(71.8% 0.169 121.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B787FB

    #B787FB

    oklch(71.7% 0.169 301.4)

  • #839CFF

    #839CFF

    oklch(71.6% 0.147 271.6)

  • #DE78D3

    #DE78D3

    oklch(71.7% 0.168 331.3)

Open the analogous palette in the generator

Split complementary

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

  • #B787FB

    #B787FB

    oklch(71.7% 0.169 301.4)

  • #C69F00

    #C69F00

    oklch(71.8% 0.147 91.1)

  • #39C06B

    #39C06B

    oklch(71.6% 0.168 151.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B787FB

    #B787FB

    oklch(71.7% 0.169 301.4)

  • #EC8700

    #EC8700

    oklch(71.8% 0.166 61.3)

  • #00BDA9

    #00BDA9

    oklch(71.6% 0.129 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B787FB

    #B787FB

    oklch(71.7% 0.169 301.4)

  • #FB755E

    #FB755E

    oklch(71.7% 0.169 31.5)

  • #94B313

    #94B313

    oklch(71.8% 0.169 121.5)

  • #00B8D0

    #00B8D0

    oklch(71.8% 0.125 211.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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