#B871E8

Closest named color: Light Urple (#B36FF6). oklch(67.3% 0.181 309.9), rgb(184, 113, 232).

Aa

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

About this color

#B871E8 is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.181 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.024 away. Black text reads best on it, at 6.56:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.181)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.56:1
White text3.19:1

Values

HEX#B871E8
RGBrgb(184, 113, 232)
HSLhsl(276, 72%, 68%)
OKLCHoklch(67.3% 0.181 309.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 #B871E8 3.19:1 AA large text Lc -64.3 Content text, not long reading
Black text on #B871E8 6.56:1 AA Lc 45.2 Large or bold text, headings
#B871E8 text on white 3.19:1 AA large text Lc 58.9 Large or bold text, headings
#B871E8 text on black 6.56:1 AA Lc -42.9 Non-text elements, placeholder text

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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #F1E4FB

    oklch(93.6% 0.034 310.7)

  3. Step 200

    200

    #E6CEF9

    oklch(88.5% 0.063 310.1)

  4. Step 300

    300

    #D7ACF7

    oklch(80.9% 0.113 310.1)

  5. Step 400

    400 (this color)

    #B871E8

    oklch(67.3% 0.181 309.9)

  6. Step 500

    500

    #B452EF

    oklch(63.2% 0.231 310.1)

  7. Step 600

    600

    #9F2ADD

    oklch(55.5% 0.251 309.9)

  8. Step 700

    700

    #8818C0

    oklch(49.1% 0.233 309.8)

  9. Step 800

    800

    #6F1A9B

    oklch(42.7% 0.193 310.2)

  10. Step 900

    900

    #5A1F7B

    oklch(37.7% 0.151 310.4)

  11. Step 950

    950

    #341448

    oklch(26.9% 0.095 309.8)

Export this scale for Tailwind in the Tailwind colors tool

#B871E8 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)#518DEC0.148
Deuteranopia (no green cones)#6691E50.134
Tritanopia (no blue cones)#B285A20.127
Achromatopsia (no color)#9090900.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #B871E8

    #B871E8

    oklch(67.3% 0.181 309.9)

  • #70AB00

    #70AB00

    oklch(67.4% 0.182 130)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B871E8

    #B871E8

    oklch(67.3% 0.181 309.9)

  • #8385FF

    #8385FF

    oklch(67.3% 0.177 279.8)

  • #DC62B9

    #DC62B9

    oklch(67.4% 0.182 339.9)

Open the analogous palette in the generator

Split complementary

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

  • #B871E8

    #B871E8

    oklch(67.3% 0.181 309.9)

  • #AB9700

    #AB9700

    oklch(67.3% 0.14 99.8)

  • #00B275

    #00B275

    oklch(67.4% 0.152 160)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B871E8

    #B871E8

    oklch(67.3% 0.181 309.9)

  • #CE8300

    #CE8300

    oklch(67.2% 0.146 69.8)

  • #00ADA6

    #00ADA6

    oklch(67.4% 0.117 189.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B871E8

    #B871E8

    oklch(67.3% 0.181 309.9)

  • #EF6632

    #EF6632

    oklch(67.4% 0.181 39.8)

  • #70AB00

    #70AB00

    oklch(67.4% 0.182 130)

  • #00A7CA

    #00A7CA

    oklch(67.4% 0.123 219.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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