#B786FC

Closest named color: Liliac (#C48EFD). oklch(71.6% 0.171 301.4), rgb(183, 134, 252).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.171)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text7.82:1
White text2.68:1

Values

HEX#B786FC
RGBrgb(183, 134, 252)
HSLhsl(265, 95%, 76%)
OKLCHoklch(71.6% 0.171 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 #B786FC 2.68:1 Fails Lc -57.1 Large or bold text, headings
Black text on #B786FC 7.82:1 AAA Lc 52.1 Large or bold text, headings
#B786FC text on white 2.68:1 Fails Lc 51.9 Large or bold text, headings
#B786FC text on black 7.82:1 AAA Lc -50.0 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

    #E0D1FB

    oklch(88.6% 0.059 301.5)

  4. Step 300

    300

    #CDB0FB

    oklch(80.9% 0.108 301.8)

  5. Step 400

    400 (this color)

    #B786FC

    oklch(71.6% 0.171 301.4)

  6. Step 500

    500

    #A35DF6

    oklch(63.1% 0.22 301.4)

  7. Step 600

    600

    #8F3BE4

    oklch(55.6% 0.238 301.5)

  8. Step 700

    700

    #7A2BC6

    oklch(49.1% 0.221 301.5)

  9. Step 800

    800

    #6327A0

    oklch(42.7% 0.183 301.5)

  10. Step 900

    900

    #50277F

    oklch(37.7% 0.142 301.2)

  11. Step 950

    950

    #2F184B

    oklch(27.1% 0.091 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#B786FC 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)#639DFF0.117
Deuteranopia (no green cones)#6E9DF90.108
Tritanopia (no blue cones)#AA9BB50.131
Achromatopsia (no color)#9E9E9E0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #B786FC

    #B786FC

    oklch(71.6% 0.171 301.4)

  • #93B305

    #93B305

    oklch(71.7% 0.172 121.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B786FC

    #B786FC

    oklch(71.6% 0.171 301.4)

  • #839CFF

    #839CFF

    oklch(71.6% 0.147 271.6)

  • #DF77D3

    #DF77D3

    oklch(71.7% 0.171 331.6)

Open the analogous palette in the generator

Split complementary

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

  • #B786FC

    #B786FC

    oklch(71.6% 0.171 301.4)

  • #C59F00

    #C59F00

    oklch(71.7% 0.147 91.6)

  • #35C169

    #35C169

    oklch(71.7% 0.172 151.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B786FC

    #B786FC

    oklch(71.6% 0.171 301.4)

  • #EB8700

    #EB8700

    oklch(71.6% 0.165 61.6)

  • #00BDA8

    #00BDA8

    oklch(71.6% 0.129 181.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B786FC

    #B786FC

    oklch(71.6% 0.171 301.4)

  • #FC745D

    #FC745D

    oklch(71.7% 0.171 31.4)

  • #93B305

    #93B305

    oklch(71.7% 0.172 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 #B786FC, closest first.

Similar named colors

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

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