#B281F2

Closest named color: Light Purple (#BF77F6). oklch(69.8% 0.166 302.3), rgb(178, 129, 242).

Aa

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

About this color

#B281F2 is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.166 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.030 away. Black text reads best on it, at 7.31:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.166)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.31:1
White text2.87:1

Values

HEX#B281F2
RGBrgb(178, 129, 242)
HSLhsl(266, 81%, 73%)
OKLCHoklch(69.8% 0.166 302.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 #B281F2 2.87:1 Fails Lc -60.0 Large or bold text, headings
Black text on #B281F2 7.31:1 AAA Lc 49.3 Large or bold text, headings
#B281F2 text on white 2.87:1 Fails Lc 54.7 Large or bold text, headings
#B281F2 text on black 7.31:1 AAA Lc -47.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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #E0D1F9

    oklch(88.5% 0.057 302.3)

  4. Step 300

    300

    #CDB1F9

    oklch(81% 0.104 302)

  5. Step 400

    400 (this color)

    #B281F2

    oklch(69.8% 0.166 302.3)

  6. Step 500

    500

    #A45FF1

    oklch(63.1% 0.212 302.5)

  7. Step 600

    600

    #8F3EDF

    oklch(55.5% 0.23 302.3)

  8. Step 700

    700

    #7A2EC2

    oklch(49.1% 0.214 302.2)

  9. Step 800

    800

    #63299D

    oklch(42.7% 0.177 302.1)

  10. Step 900

    900

    #51287D

    oklch(37.8% 0.138 302.4)

  11. Step 950

    950

    #2F1949

    oklch(27.1% 0.087 302.1)

Export this scale for Tailwind in the Tailwind colors tool

#B281F2 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)#6097F60.115
Deuteranopia (no green cones)#6C98EF0.106
Tritanopia (no blue cones)#A695AE0.127
Achromatopsia (no color)#9898980.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #B281F2

    #B281F2

    oklch(69.8% 0.166 302.3)

  • #8CAD11

    #8CAD11

    oklch(69.8% 0.166 122.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B281F2

    #B281F2

    oklch(69.8% 0.166 302.3)

  • #7D94FF

    #7D94FF

    oklch(69.7% 0.159 272.5)

  • #D872CA

    #D872CA

    oklch(69.7% 0.166 332.5)

Open the analogous palette in the generator

Split complementary

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

  • #B281F2

    #B281F2

    oklch(69.8% 0.166 302.3)

  • #BD9A00

    #BD9A00

    oklch(69.8% 0.143 92.5)

  • #2FBA68

    #2FBA68

    oklch(69.8% 0.166 152.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B281F2

    #B281F2

    oklch(69.8% 0.166 302.3)

  • #E28300

    #E28300

    oklch(69.8% 0.16 62.3)

  • #00B6A4

    #00B6A4

    oklch(69.7% 0.124 182.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B281F2

    #B281F2

    oklch(69.8% 0.166 302.3)

  • #F37058

    #F37058

    oklch(69.8% 0.166 32.1)

  • #8CAD11

    #8CAD11

    oklch(69.8% 0.166 122.5)

  • #00B1CA

    #00B1CA

    oklch(69.8% 0.122 212.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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