#B78AFE

Closest named color: Liliac (#C48EFD). oklch(72.4% 0.168 300.1), rgb(183, 138, 254).

Aa

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

About this color

#B78AFE is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.168 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.024 away. Black text reads best on it, at 8.07:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.168)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.07:1
White text2.59:1

Values

HEX#B78AFE
RGBrgb(183, 138, 254)
HSLhsl(263, 98%, 77%)
OKLCHoklch(72.4% 0.168 300.1)

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 #B78AFE 2.59:1 Fails Lc -55.7 Large or bold text, headings
Black text on #B78AFE 8.07:1 AAA Lc 53.4 Large or bold text, headings
#B78AFE text on white 2.59:1 Fails Lc 50.6 Large or bold text, headings
#B78AFE text on black 8.07:1 AAA Lc -51.3 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

    #DFD1FB

    oklch(88.5% 0.059 300.4)

  4. Step 300

    300

    #CBB1FB

    oklch(80.9% 0.106 300.2)

  5. Step 400

    400 (this color)

    #B78AFE

    oklch(72.4% 0.168 300.1)

  6. Step 500

    500

    #A060F5

    oklch(63.1% 0.215 300.1)

  7. Step 600

    600

    #8C3FE3

    oklch(55.6% 0.233 300.2)

  8. Step 700

    700

    #772FC6

    oklch(49.1% 0.217 299.9)

  9. Step 800

    800

    #6129A0

    oklch(42.7% 0.18 300.2)

  10. Step 900

    900

    #4F287F

    oklch(37.7% 0.14 300.3)

  11. Step 950

    950

    #2E194A

    oklch(27% 0.088 300.4)

Export this scale for Tailwind in the Tailwind colors tool

#B78AFE 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)#67A0FF0.111
Deuteranopia (no green cones)#72A0FB0.102
Tritanopia (no blue cones)#A99FB80.130
Achromatopsia (no color)#A1A1A10.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #B78AFE

    #B78AFE

    oklch(72.4% 0.168 300.1)

  • #99B414

    #99B414

    oklch(72.4% 0.168 120.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B78AFE

    #B78AFE

    oklch(72.4% 0.168 300.1)

  • #83A0FF

    #83A0FF

    oklch(72.4% 0.142 269.8)

  • #DF7BD7

    #DF7BD7

    oklch(72.4% 0.167 330.1)

Open the analogous palette in the generator

Split complementary

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

  • #B78AFE

    #B78AFE

    oklch(72.4% 0.168 300.1)

  • #CAA000

    #CAA000

    oklch(72.4% 0.148 89.8)

  • #43C26B

    #43C26B

    oklch(72.4% 0.167 150.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B78AFE

    #B78AFE

    oklch(72.4% 0.168 300.1)

  • #F08809

    #F08809

    oklch(72.5% 0.168 60.1)

  • #00C0A9

    #00C0A9

    oklch(72.4% 0.131 180.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B78AFE

    #B78AFE

    oklch(72.4% 0.168 300.1)

  • #FD7763

    #FD7763

    oklch(72.3% 0.168 30.3)

  • #99B414

    #99B414

    oklch(72.4% 0.168 120.1)

  • #00BAD1

    #00BAD1

    oklch(72.3% 0.125 210.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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