#B291FE

Closest named color: Liliac (#C48EFD). oklch(73.1% 0.156 296.3), rgb(178, 145, 254).

Aa

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

About this color

#B291FE is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.156 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.028 away. Black text reads best on it, at 8.37:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.156)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.37:1
White text2.50:1

Values

HEX#B291FE
RGBrgb(178, 145, 254)
HSLhsl(258, 98%, 78%)
OKLCHoklch(73.1% 0.156 296.3)

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 #B291FE 2.50:1 Fails Lc -54.1 Large or bold text, headings
Black text on #B291FE 8.37:1 AAA Lc 54.9 Large or bold text, headings
#B291FE text on white 2.50:1 Fails Lc 49.1 Large or bold text, headings
#B291FE text on black 8.37:1 AAA Lc -52.9 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

    #EBE6FB

    oklch(93.5% 0.029 296.7)

  3. Step 200

    200

    #DCD2FA

    oklch(88.4% 0.055 296.7)

  4. Step 300

    300

    #C6B4F9

    oklch(80.9% 0.098 296.1)

  5. Step 400

    400 (this color)

    #B291FE

    oklch(73.1% 0.156 296.3)

  6. Step 500

    500

    #9767F2

    oklch(63% 0.2 296.1)

  7. Step 600

    600

    #8349E0

    oklch(55.5% 0.217 296.2)

  8. Step 700

    700

    #6F39C3

    oklch(49.1% 0.202 296)

  9. Step 800

    800

    #5B309D

    oklch(42.7% 0.167 296.7)

  10. Step 900

    900

    #4A2D7D

    oklch(37.8% 0.13 296.3)

  11. Step 950

    950

    #2B1B49

    oklch(26.9% 0.082 296.5)

Export this scale for Tailwind in the Tailwind colors tool

#B291FE 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)#70A4FF0.092
Deuteranopia (no green cones)#76A2FB0.086
Tritanopia (no blue cones)#A2A5BB0.126
Achromatopsia (no color)#A3A3A30.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #B291FE

    #B291FE

    oklch(73.1% 0.156 296.3)

  • #A3B326

    #A3B326

    oklch(73% 0.156 116.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B291FE

    #B291FE

    oklch(73.1% 0.156 296.3)

  • #80A4FF

    #80A4FF

    oklch(73.1% 0.139 266.6)

  • #DA82DC

    #DA82DC

    oklch(73.1% 0.157 326.2)

Open the analogous palette in the generator

Split complementary

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

  • #B291FE

    #B291FE

    oklch(73.1% 0.156 296.3)

  • #D1A000

    #D1A000

    oklch(73.1% 0.15 86.5)

  • #5DC26A

    #5DC26A

    oklch(73.2% 0.156 146.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B291FE

    #B291FE

    oklch(73.1% 0.156 296.3)

  • #F08B35

    #F08B35

    oklch(73.1% 0.155 56.6)

  • #00C3A5

    #00C3A5

    oklch(73% 0.136 176.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B291FE

    #B291FE

    oklch(73.1% 0.156 296.3)

  • #FB7D72

    #FB7D72

    oklch(73.2% 0.156 26.7)

  • #A3B326

    #A3B326

    oklch(73% 0.156 116.2)

  • #00BECF

    #00BECF

    oklch(73.2% 0.125 206.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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