#B788FC

Closest named color: Liliac (#C48EFD). oklch(71.9% 0.168 301), rgb(183, 136, 252).

Aa

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

About this color

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

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

Values

HEX#B788FC
RGBrgb(183, 136, 252)
HSLhsl(264, 95%, 76%)
OKLCHoklch(71.9% 0.168 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 #B788FC 2.64:1 Fails Lc -56.5 Large or bold text, headings
Black text on #B788FC 7.94:1 AAA Lc 52.7 Large or bold text, headings
#B788FC text on white 2.64:1 Fails Lc 51.3 Large or bold text, headings
#B788FC text on black 7.94:1 AAA Lc -50.6 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

    #DFD1FA

    oklch(88.5% 0.058 300.8)

  4. Step 300

    300

    #CCB1FA

    oklch(80.9% 0.105 301.1)

  5. Step 400

    400 (this color)

    #B788FC

    oklch(71.9% 0.168 301)

  6. Step 500

    500

    #A25FF4

    oklch(63.1% 0.215 301.1)

  7. Step 600

    600

    #8E3EE3

    oklch(55.7% 0.234 301.1)

  8. Step 700

    700

    #792EC5

    oklch(49.2% 0.217 301.1)

  9. Step 800

    800

    #62289F

    oklch(42.6% 0.18 301.1)

  10. Step 900

    900

    #50287F

    oklch(37.8% 0.14 301)

  11. Step 950

    950

    #2E194A

    oklch(27% 0.088 300.4)

Export this scale for Tailwind in the Tailwind colors tool

#B788FC 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)#669FFF0.114
Deuteranopia (no green cones)#719FF90.105
Tritanopia (no blue cones)#AA9DB60.130
Achromatopsia (no color)#9F9F9F0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #B788FC

    #B788FC

    oklch(71.9% 0.168 301)

  • #96B313

    #96B313

    oklch(71.9% 0.168 120.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B788FC

    #B788FC

    oklch(71.9% 0.168 301)

  • #839DFF

    #839DFF

    oklch(71.8% 0.146 271.1)

  • #DF79D4

    #DF79D4

    oklch(72% 0.168 331.3)

Open the analogous palette in the generator

Split complementary

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

  • #B788FC

    #B788FC

    oklch(71.9% 0.168 301)

  • #C79F00

    #C79F00

    oklch(71.9% 0.147 90.6)

  • #3DC16B

    #3DC16B

    oklch(71.9% 0.168 151)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B788FC

    #B788FC

    oklch(71.9% 0.168 301)

  • #ED8700

    #ED8700

    oklch(71.9% 0.167 61)

  • #00BEA9

    #00BEA9

    oklch(71.9% 0.129 181.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B788FC

    #B788FC

    oklch(71.9% 0.168 301)

  • #FC7660

    #FC7660

    oklch(72% 0.168 31.1)

  • #96B313

    #96B313

    oklch(71.9% 0.168 120.8)

  • #00B9D0

    #00B9D0

    oklch(72% 0.125 210.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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