#B386EA

Closest named color: Liliac (#C48EFD). oklch(70.3% 0.148 303.6), rgb(179, 134, 234).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.148)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text7.51:1
White text2.79:1

Values

HEX#B386EA
RGBrgb(179, 134, 234)
HSLhsl(267, 70%, 72%)
OKLCHoklch(70.3% 0.148 303.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 #B386EA 2.79:1 Fails Lc -58.9 Large or bold text, headings
Black text on #B386EA 7.51:1 AAA Lc 50.4 Large or bold text, headings
#B386EA text on white 2.79:1 Fails Lc 53.6 Large or bold text, headings
#B386EA text on black 7.51:1 AAA Lc -48.2 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F9

    oklch(93.6% 0.026 302.6)

  3. Step 200

    200

    #E0D1F6

    oklch(88.4% 0.053 303.7)

  4. Step 300

    300

    #CDB2F2

    oklch(80.9% 0.093 303.7)

  5. Step 400

    400 (this color)

    #B386EA

    oklch(70.3% 0.148 303.6)

  6. Step 500

    500

    #A265E5

    oklch(63% 0.19 303.4)

  7. Step 600

    600

    #8E48D3

    oklch(55.6% 0.205 303.5)

  8. Step 700

    700

    #7938B7

    oklch(49.2% 0.191 303.5)

  9. Step 800

    800

    #622F94

    oklch(42.6% 0.159 303.4)

  10. Step 900

    900

    #502C76

    oklch(37.8% 0.123 303.4)

  11. Step 950

    950

    #2F1A45

    oklch(26.9% 0.079 304.1)

Export this scale for Tailwind in the Tailwind colors tool

#B386EA 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)#6C99EE0.102
Deuteranopia (no green cones)#779BE70.094
Tritanopia (no blue cones)#AA97AD0.113
Achromatopsia (no color)#9B9B9B0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #B386EA

    #B386EA

    oklch(70.3% 0.148 303.6)

  • #8DAE37

    #8DAE37

    oklch(70.3% 0.149 123.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B386EA

    #B386EA

    oklch(70.3% 0.148 303.6)

  • #8396FB

    #8396FB

    oklch(70.2% 0.149 273.9)

  • #D579C6

    #D579C6

    oklch(70.2% 0.149 333.3)

Open the analogous palette in the generator

Split complementary

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

  • #B386EA

    #B386EA

    oklch(70.3% 0.148 303.6)

  • #BD9C00

    #BD9C00

    oklch(70.2% 0.144 93.7)

  • #43B973

    #43B973

    oklch(70.2% 0.147 153.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B386EA

    #B386EA

    oklch(70.3% 0.148 303.6)

  • #DE8824

    #DE8824

    oklch(70.2% 0.148 63.6)

  • #00B8A7

    #00B8A7

    oklch(70.3% 0.125 183.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B386EA

    #B386EA

    oklch(70.3% 0.148 303.6)

  • #ED7960

    #ED7960

    oklch(70.4% 0.149 33.4)

  • #8DAE37

    #8DAE37

    oklch(70.3% 0.149 123.6)

  • #00B2CD

    #00B2CD

    oklch(70.2% 0.123 213.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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