#B296F9

Closest named color: Liliac (#C48EFD). oklch(73.7% 0.142 295.7), rgb(178, 150, 249).

Aa

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

About this color

#B296F9 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.033 away. Black text reads best on it, at 8.62:1.

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

Values

HEX#B296F9
RGBrgb(178, 150, 249)
HSLhsl(257, 89%, 78%)
OKLCHoklch(73.7% 0.142 295.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 #B296F9 2.43:1 Fails Lc -52.8 Large or bold text, headings
Black text on #B296F9 8.62:1 AAA Lc 56.2 Large or bold text, headings
#B296F9 text on white 2.43:1 Fails Lc 47.8 Large or bold text, headings
#B296F9 text on black 8.62:1 AAA Lc -54.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

    #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

    #C5B5F4

    oklch(80.8% 0.089 296)

  5. Step 400

    400 (this color)

    #B296F9

    oklch(73.7% 0.142 295.7)

  6. Step 500

    500

    #956CE9

    oklch(63.1% 0.182 295.9)

  7. Step 600

    600

    #8050D7

    oklch(55.5% 0.197 295.6)

  8. Step 700

    700

    #6D40BB

    oklch(49.2% 0.184 295.7)

  9. Step 800

    800

    #583697

    oklch(42.7% 0.151 295.4)

  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

#B296F9 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.080
Deuteranopia (no green cones)#7EA5F60.076
Tritanopia (no blue cones)#A3A7BC0.114
Achromatopsia (no color)#A6A6A60.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #B296F9

    #B296F9

    oklch(73.7% 0.142 295.7)

  • #A6B43D

    #A6B43D

    oklch(73.6% 0.142 115.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B296F9

    #B296F9

    oklch(73.7% 0.142 295.7)

  • #81A7FF

    #81A7FF

    oklch(73.7% 0.135 265.5)

  • #D789DA

    #D789DA

    oklch(73.8% 0.141 325.6)

Open the analogous palette in the generator

Split complementary

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

  • #B296F9

    #B296F9

    oklch(73.7% 0.142 295.7)

  • #D2A223

    #D2A223

    oklch(73.7% 0.142 85.6)

  • #6AC171

    #6AC171

    oklch(73.6% 0.141 145.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B296F9

    #B296F9

    oklch(73.7% 0.142 295.7)

  • #ED9048

    #ED9048

    oklch(73.8% 0.142 55.8)

  • #00C6A6

    #00C6A6

    oklch(73.8% 0.139 175.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B296F9

    #B296F9

    oklch(73.7% 0.142 295.7)

  • #F7847A

    #F7847A

    oklch(73.9% 0.142 26.2)

  • #A6B43D

    #A6B43D

    oklch(73.6% 0.142 115.7)

  • #00C0D0

    #00C0D0

    oklch(73.7% 0.126 205.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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