#B387FB

Closest named color: Liliac (#C48EFD). oklch(71.3% 0.168 299.6), rgb(179, 135, 251).

Aa

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

About this color

#B387FB is a medium-light, vivid purple. In OKLCH its lightness is 71%, 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.033 away. Black text reads best on it, at 7.77:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.168)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text7.77:1
White text2.70:1

Values

HEX#B387FB
RGBrgb(179, 135, 251)
HSLhsl(263, 94%, 76%)
OKLCHoklch(71.3% 0.168 299.6)

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 #B387FB 2.70:1 Fails Lc -57.4 Large or bold text, headings
Black text on #B387FB 7.77:1 AAA Lc 51.8 Large or bold text, headings
#B387FB text on white 2.70:1 Fails Lc 52.2 Large or bold text, headings
#B387FB text on black 7.77:1 AAA Lc -49.7 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

    #F7F4FE

    oklch(97.2% 0.014 299.8)

  2. Step 100

    100

    #ECE6FC

    oklch(93.6% 0.03 298.3)

  3. Step 200

    200

    #DED1FB

    oklch(88.4% 0.059 299.3)

  4. Step 300

    300

    #CAB1FB

    oklch(80.8% 0.106 299.5)

  5. Step 400

    400 (this color)

    #B387FB

    oklch(71.3% 0.168 299.6)

  6. Step 500

    500

    #9F60F5

    oklch(63% 0.214 299.7)

  7. Step 600

    600

    #8B3FE4

    oklch(55.5% 0.234 299.6)

  8. Step 700

    700

    #762FC6

    oklch(49% 0.217 299.5)

  9. Step 800

    800

    #6029A0

    oklch(42.6% 0.18 299.7)

  10. Step 900

    900

    #4E287F

    oklch(37.6% 0.14 299.7)

  11. Step 950

    950

    #2E194B

    oklch(27.1% 0.089 299.8)

Export this scale for Tailwind in the Tailwind colors tool

#B387FB 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.111
Deuteranopia (no green cones)#6D9DF80.103
Tritanopia (no blue cones)#A59CB50.131
Achromatopsia (no color)#9D9D9D0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #B387FB

    #B387FB

    oklch(71.3% 0.168 299.6)

  • #97B004

    #97B004

    oklch(71.3% 0.167 119.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B387FB

    #B387FB

    oklch(71.3% 0.168 299.6)

  • #7E9CFF

    #7E9CFF

    oklch(71.3% 0.149 269.6)

  • #DB78D4

    #DB78D4

    oklch(71.4% 0.167 329.8)

Open the analogous palette in the generator

Split complementary

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

  • #B387FB

    #B387FB

    oklch(71.3% 0.168 299.6)

  • #C69D00

    #C69D00

    oklch(71.4% 0.146 89.9)

  • #41BF66

    #41BF66

    oklch(71.5% 0.168 149.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B387FB

    #B387FB

    oklch(71.3% 0.168 299.6)

  • #ED8400

    #ED8400

    oklch(71.4% 0.168 59.4)

  • #00BCA5

    #00BCA5

    oklch(71.2% 0.129 179.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B387FB

    #B387FB

    oklch(71.3% 0.168 299.6)

  • #FA7361

    #FA7361

    oklch(71.3% 0.169 29.6)

  • #97B004

    #97B004

    oklch(71.3% 0.167 119.4)

  • #00B7CC

    #00B7CC

    oklch(71.4% 0.123 209.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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