#B388FF

Closest named color: Liliac (#C48EFD). oklch(71.7% 0.171 298.7), rgb(179, 136, 255).

Aa

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

About this color

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

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

Values

HEX#B388FF
RGBrgb(179, 136, 255)
HSLhsl(262, 100%, 77%)
OKLCHoklch(71.7% 0.171 298.7)

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 #B388FF 2.66:1 Fails Lc -56.8 Large or bold text, headings
Black text on #B388FF 7.88:1 AAA Lc 52.4 Large or bold text, headings
#B388FF text on white 2.66:1 Fails Lc 51.6 Large or bold text, headings
#B388FF text on black 7.88:1 AAA Lc -50.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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #ECE6FC

    oklch(93.6% 0.03 298.3)

  3. Step 200

    200

    #DED1FC

    oklch(88.5% 0.06 299)

  4. Step 300

    300

    #CAB1FD

    oklch(80.9% 0.108 299.1)

  5. Step 400

    400 (this color)

    #B388FF

    oklch(71.7% 0.171 298.7)

  6. Step 500

    500

    #9E60F9

    oklch(63.2% 0.219 298.6)

  7. Step 600

    600

    #8A3EE8

    oklch(55.6% 0.239 298.6)

  8. Step 700

    700

    #752EC9

    oklch(49.1% 0.221 298.5)

  9. Step 800

    800

    #5F28A3

    oklch(42.6% 0.184 298.5)

  10. Step 900

    900

    #4E2881

    oklch(37.8% 0.143 299)

  11. Step 950

    950

    #2D194C

    oklch(27.1% 0.091 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#B388FF 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)#629FFF0.112
Deuteranopia (no green cones)#6C9DFC0.103
Tritanopia (no blue cones)#A39EB70.135
Achromatopsia (no color)#9E9E9E0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #B388FF

    #B388FF

    oklch(71.7% 0.171 298.7)

  • #9AB100

    #9AB100

    oklch(71.7% 0.168 118.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B388FF

    #B388FF

    oklch(71.7% 0.171 298.7)

  • #7E9EFF

    #7E9EFF

    oklch(71.7% 0.146 268.7)

  • #DC78D8

    #DC78D8

    oklch(71.7% 0.171 328.7)

Open the analogous palette in the generator

Split complementary

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

  • #B388FF

    #B388FF

    oklch(71.7% 0.171 298.7)

  • #C99D00

    #C99D00

    oklch(71.7% 0.146 88.5)

  • #43C064

    #43C064

    oklch(71.7% 0.171 148.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B388FF

    #B388FF

    oklch(71.7% 0.171 298.7)

  • #F08400

    #F08400

    oklch(71.8% 0.171 58.6)

  • #00BEA5

    #00BEA5

    oklch(71.8% 0.131 178.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B388FF

    #B388FF

    oklch(71.7% 0.171 298.7)

  • #FD7363

    #FD7363

    oklch(71.8% 0.172 28.7)

  • #9AB100

    #9AB100

    oklch(71.7% 0.168 118.6)

  • #00B8CD

    #00B8CD

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

Similar named colors

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

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