#B396F9

Closest named color: Liliac (#C48EFD). oklch(73.8% 0.142 296.2), rgb(179, 150, 249).

Aa

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

About this color

#B396F9 is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.142 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.032 away. Black text reads best on it, at 8.64:1.

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

Values

HEX#B396F9
RGBrgb(179, 150, 249)
HSLhsl(258, 89%, 78%)
OKLCHoklch(73.8% 0.142 296.2)

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 #B396F9 2.42:1 Fails Lc -52.7 Large or bold text, headings
Black text on #B396F9 8.64:1 AAA Lc 56.3 Large or bold text, headings
#B396F9 text on white 2.42:1 Fails Lc 47.7 Large or bold text, headings
#B396F9 text on black 8.64:1 AAA Lc -54.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7FA

    oklch(93.7% 0.026 295.5)

  3. Step 200

    200

    #DCD3F7

    oklch(88.5% 0.05 296.8)

  4. Step 300

    300

    #C5B5F4

    oklch(80.8% 0.089 296)

  5. Step 400

    400 (this color)

    #B396F9

    oklch(73.8% 0.142 296.2)

  6. Step 500

    500

    #966CE9

    oklch(63.2% 0.182 296.3)

  7. Step 600

    600

    #8150D7

    oklch(55.6% 0.197 296.1)

  8. Step 700

    700

    #6E3FBA

    oklch(49.1% 0.184 296.6)

  9. Step 800

    800

    #593597

    oklch(42.7% 0.153 296.2)

  10. Step 900

    900

    #493078

    oklch(37.8% 0.118 296.3)

  11. Step 950

    950

    #2A1D46

    oklch(27% 0.074 295.6)

Export this scale for Tailwind in the Tailwind colors tool

#B396F9 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)#7AA7FD0.081
Deuteranopia (no green cones)#7FA5F60.076
Tritanopia (no blue cones)#A4A7BC0.114
Achromatopsia (no color)#A6A6A60.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #B396F9

    #B396F9

    oklch(73.8% 0.142 296.2)

  • #A6B53E

    #A6B53E

    oklch(73.9% 0.142 116.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B396F9

    #B396F9

    oklch(73.8% 0.142 296.2)

  • #83A7FF

    #83A7FF

    oklch(73.9% 0.134 266.3)

  • #D889DA

    #D889DA

    oklch(73.9% 0.142 326)

Open the analogous palette in the generator

Split complementary

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

  • #B396F9

    #B396F9

    oklch(73.8% 0.142 296.2)

  • #D2A323

    #D2A323

    oklch(73.9% 0.143 86.3)

  • #69C272

    #69C272

    oklch(73.9% 0.142 146.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B396F9

    #B396F9

    oklch(73.8% 0.142 296.2)

  • #ED9047

    #ED9047

    oklch(73.8% 0.142 56.1)

  • #00C6A7

    #00C6A7

    oklch(73.8% 0.138 176)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B396F9

    #B396F9

    oklch(73.8% 0.142 296.2)

  • #F7847A

    #F7847A

    oklch(73.9% 0.142 26.2)

  • #A6B53E

    #A6B53E

    oklch(73.9% 0.142 116.1)

  • #00C0D1

    #00C0D1

    oklch(73.8% 0.126 206)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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