#B296F8

Closest named color: Liliac (#C48EFD). oklch(73.7% 0.141 295.9), rgb(178, 150, 248).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.141)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.61:1
White text2.43:1

Values

HEX#B296F8
RGBrgb(178, 150, 248)
HSLhsl(257, 88%, 78%)
OKLCHoklch(73.7% 0.141 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 #B296F8 2.43:1 Fails Lc -52.9 Large or bold text, headings
Black text on #B296F8 8.61:1 AAA Lc 56.1 Large or bold text, headings
#B296F8 text on white 2.43:1 Fails Lc 47.9 Large or bold text, headings
#B296F8 text on black 8.61:1 AAA Lc -54.1 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

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DBD3F7

    oklch(88.5% 0.05 295.5)

  4. Step 300

    300

    #C5B5F4

    oklch(80.8% 0.089 296)

  5. Step 400

    400 (this color)

    #B296F8

    oklch(73.7% 0.141 295.9)

  6. Step 500

    500

    #956DE8

    oklch(63.2% 0.179 295.9)

  7. Step 600

    600

    #8151D6

    oklch(55.7% 0.195 296.1)

  8. Step 700

    700

    #6D40BA

    oklch(49.1% 0.182 295.9)

  9. Step 800

    800

    #583696

    oklch(42.6% 0.15 295.7)

  10. Step 900

    900

    #483078

    oklch(37.7% 0.118 295.5)

  11. Step 950

    950

    #2A1D46

    oklch(27% 0.074 295.6)

Export this scale for Tailwind in the Tailwind colors tool

#B296F8 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)#7BA7FC0.079
Deuteranopia (no green cones)#7FA5F50.075
Tritanopia (no blue cones)#A3A7BB0.114
Achromatopsia (no color)#A6A6A60.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #B296F8

    #B296F8

    oklch(73.7% 0.141 295.9)

  • #A6B43F

    #A6B43F

    oklch(73.6% 0.141 115.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B296F8

    #B296F8

    oklch(73.7% 0.141 295.9)

  • #82A7FF

    #82A7FF

    oklch(73.8% 0.134 265.9)

  • #D789D9

    #D789D9

    oklch(73.7% 0.14 326)

Open the analogous palette in the generator

Split complementary

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

  • #B296F8

    #B296F8

    oklch(73.7% 0.141 295.9)

  • #D1A226

    #D1A226

    oklch(73.6% 0.141 85.9)

  • #6AC172

    #6AC172

    oklch(73.7% 0.14 146)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B296F8

    #B296F8

    oklch(73.7% 0.141 295.9)

  • #EC9049

    #EC9049

    oklch(73.7% 0.14 55.9)

  • #00C5A6

    #00C5A6

    oklch(73.6% 0.138 175.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B296F8

    #B296F8

    oklch(73.7% 0.141 295.9)

  • #F6847B

    #F6847B

    oklch(73.8% 0.141 25.7)

  • #A6B43F

    #A6B43F

    oklch(73.6% 0.141 115.8)

  • #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 #B296F8, closest first.

Similar named colors

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

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