#B396FB

Closest named color: Liliac (#C48EFD). oklch(73.9% 0.145 295.9), rgb(179, 150, 251).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.145)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.67:1
White text2.42:1

Values

HEX#B396FB
RGBrgb(179, 150, 251)
HSLhsl(257, 93%, 79%)
OKLCHoklch(73.9% 0.145 295.9)

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 #B396FB 2.42:1 Fails Lc -52.6 Large or bold text, headings
Black text on #B396FB 8.67:1 AAA Lc 56.4 Large or bold text, headings
#B396FB text on white 2.42:1 Fails Lc 47.6 Large or bold text, headings
#B396FB text on black 8.67:1 AAA Lc -54.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7FA

    oklch(93.7% 0.026 295.5)

  3. Step 200

    200

    #DBD3F7

    oklch(88.5% 0.05 295.5)

  4. Step 300

    300

    #C5B5F5

    oklch(80.9% 0.091 295.8)

  5. Step 400

    400 (this color)

    #B396FB

    oklch(73.9% 0.145 295.9)

  6. Step 500

    500

    #956BEB

    oklch(63% 0.186 295.7)

  7. Step 600

    600

    #814FD9

    oklch(55.6% 0.201 295.8)

  8. Step 700

    700

    #6D3EBC

    oklch(49% 0.187 295.8)

  9. Step 800

    800

    #593598

    oklch(42.8% 0.154 295.9)

  10. Step 900

    900

    #492F79

    oklch(37.7% 0.121 296.3)

  11. Step 950

    950

    #2A1D47

    oklch(27.1% 0.076 295.1)

Export this scale for Tailwind in the Tailwind colors tool

#B396FB 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)#79A7FF0.082
Deuteranopia (no green cones)#7EA5F80.077
Tritanopia (no blue cones)#A4A8BD0.116
Achromatopsia (no color)#A6A6A60.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #B396FB

    #B396FB

    oklch(73.9% 0.145 295.9)

  • #A7B53B

    #A7B53B

    oklch(73.9% 0.144 115.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B396FB

    #B396FB

    oklch(73.9% 0.145 295.9)

  • #83A7FF

    #83A7FF

    oklch(73.9% 0.134 266.3)

  • #D988DB

    #D988DB

    oklch(73.9% 0.145 326.1)

Open the analogous palette in the generator

Split complementary

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

  • #B396FB

    #B396FB

    oklch(73.9% 0.145 295.9)

  • #D3A31D

    #D3A31D

    oklch(74% 0.145 86.2)

  • #68C271

    #68C271

    oklch(73.8% 0.144 146.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B396FB

    #B396FB

    oklch(73.9% 0.145 295.9)

  • #EF9046

    #EF9046

    oklch(74% 0.145 55.8)

  • #00C6A7

    #00C6A7

    oklch(73.8% 0.138 176)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B396FB

    #B396FB

    oklch(73.9% 0.145 295.9)

  • #F8837A

    #F8837A

    oklch(73.8% 0.144 25.7)

  • #A7B53B

    #A7B53B

    oklch(73.9% 0.144 115.7)

  • #00C1D1

    #00C1D1

    oklch(74% 0.126 205.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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