#B787F9

Closest named color: Liliac (#C48EFD). oklch(71.6% 0.166 301.8), rgb(183, 135, 249).

Aa

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

About this color

#B787F9 is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.166 and its hue 302°. 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.84:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.166)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text7.84:1
White text2.67:1

Values

HEX#B787F9
RGBrgb(183, 135, 249)
HSLhsl(265, 90%, 75%)
OKLCHoklch(71.6% 0.166 301.8)

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 #B787F9 2.67:1 Fails Lc -57.0 Large or bold text, headings
Black text on #B787F9 7.84:1 AAA Lc 52.2 Large or bold text, headings
#B787F9 text on white 2.67:1 Fails Lc 51.8 Large or bold text, headings
#B787F9 text on black 7.84:1 AAA Lc -50.1 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

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #E0D1FA

    oklch(88.6% 0.058 301.9)

  4. Step 300

    300

    #CDB1F9

    oklch(81% 0.104 302)

  5. Step 400

    400 (this color)

    #B787F9

    oklch(71.6% 0.166 301.8)

  6. Step 500

    500

    #A35FF2

    oklch(63.1% 0.213 301.9)

  7. Step 600

    600

    #8F3FE0

    oklch(55.7% 0.23 302)

  8. Step 700

    700

    #7A2EC3

    oklch(49.1% 0.215 302)

  9. Step 800

    800

    #63299E

    oklch(42.8% 0.178 301.8)

  10. Step 900

    900

    #50287D

    oklch(37.7% 0.138 301.7)

  11. Step 950

    950

    #2F1949

    oklch(27.1% 0.087 302.1)

Export this scale for Tailwind in the Tailwind colors tool

#B787F9 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)#669DFD0.113
Deuteranopia (no green cones)#719EF60.106
Tritanopia (no blue cones)#AB9BB40.127
Achromatopsia (no color)#9E9E9E0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #B787F9

    #B787F9

    oklch(71.6% 0.166 301.8)

  • #93B21B

    #93B21B

    oklch(71.5% 0.166 121.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B787F9

    #B787F9

    oklch(71.6% 0.166 301.8)

  • #839CFF

    #839CFF

    oklch(71.6% 0.147 271.6)

  • #DE78D1

    #DE78D1

    oklch(71.6% 0.167 332.1)

Open the analogous palette in the generator

Split complementary

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

  • #B787F9

    #B787F9

    oklch(71.6% 0.166 301.8)

  • #C59F00

    #C59F00

    oklch(71.7% 0.147 91.6)

  • #3AC06D

    #3AC06D

    oklch(71.7% 0.166 151.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B787F9

    #B787F9

    oklch(71.6% 0.166 301.8)

  • #EB8700

    #EB8700

    oklch(71.6% 0.165 61.6)

  • #00BDA9

    #00BDA9

    oklch(71.6% 0.129 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B787F9

    #B787F9

    oklch(71.6% 0.166 301.8)

  • #FA765E

    #FA765E

    oklch(71.7% 0.167 32)

  • #93B21B

    #93B21B

    oklch(71.5% 0.166 121.7)

  • #00B7D0

    #00B7D0

    oklch(71.5% 0.125 211.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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