#B788FA

Closest named color: Liliac (#C48EFD). oklch(71.8% 0.166 301.4), rgb(183, 136, 250).

Aa

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

About this color

#B788FA is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.166 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.91:1.

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

Values

HEX#B788FA
RGBrgb(183, 136, 250)
HSLhsl(265, 92%, 76%)
OKLCHoklch(71.8% 0.166 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 #B788FA 2.65:1 Fails Lc -56.6 Large or bold text, headings
Black text on #B788FA 7.91:1 AAA Lc 52.6 Large or bold text, headings
#B788FA text on white 2.65:1 Fails Lc 51.4 Large or bold text, headings
#B788FA text on black 7.91:1 AAA Lc -50.5 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

    #DFD1FA

    oklch(88.5% 0.058 300.8)

  4. Step 300

    300

    #CCB1F9

    oklch(80.9% 0.103 301.3)

  5. Step 400

    400 (this color)

    #B788FA

    oklch(71.8% 0.166 301.4)

  6. Step 500

    500

    #A260F2

    oklch(63.1% 0.211 301.4)

  7. Step 600

    600

    #8E3FE1

    oklch(55.6% 0.231 301.4)

  8. Step 700

    700

    #792FC3

    oklch(49.1% 0.214 301.5)

  9. Step 800

    800

    #62299E

    oklch(42.7% 0.178 301.3)

  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

#B788FA 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)#679EFE0.112
Deuteranopia (no green cones)#729EF70.103
Tritanopia (no blue cones)#AB9CB50.127
Achromatopsia (no color)#9F9F9F0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #B788FA

    #B788FA

    oklch(71.8% 0.166 301.4)

  • #95B31C

    #95B31C

    oklch(71.9% 0.166 121.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B788FA

    #B788FA

    oklch(71.8% 0.166 301.4)

  • #839DFF

    #839DFF

    oklch(71.8% 0.146 271.1)

  • #DE79D3

    #DE79D3

    oklch(71.8% 0.167 331.3)

Open the analogous palette in the generator

Split complementary

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

  • #B788FA

    #B788FA

    oklch(71.8% 0.166 301.4)

  • #C69F00

    #C69F00

    oklch(71.8% 0.147 91.1)

  • #3DC06C

    #3DC06C

    oklch(71.7% 0.166 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B788FA

    #B788FA

    oklch(71.8% 0.166 301.4)

  • #EC8702

    #EC8702

    oklch(71.8% 0.166 61.2)

  • #00BEA9

    #00BEA9

    oklch(71.9% 0.129 181.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B788FA

    #B788FA

    oklch(71.8% 0.166 301.4)

  • #FA7660

    #FA7660

    oklch(71.7% 0.166 31.2)

  • #95B31C

    #95B31C

    oklch(71.9% 0.166 121.3)

  • #00B8D1

    #00B8D1

    oklch(71.8% 0.125 211.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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