#B171CE

Closest named color: Wisteria (#A87DC2). oklch(65.2% 0.149 314.6), rgb(177, 113, 206).

Aa

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

About this color

#B171CE is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.149 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.040 away. Black text reads best on it, at 6.12:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.149)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.12:1
White text3.42:1

Values

HEX#B171CE
RGBrgb(177, 113, 206)
HSLhsl(281, 49%, 63%)
OKLCHoklch(65.2% 0.149 314.6)

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 #B171CE 3.42:1 AA large text Lc -67.0 Content text, not long reading
Black text on #B171CE 6.12:1 AA Lc 42.5 Non-text elements, placeholder text
#B171CE text on white 3.42:1 AA large text Lc 61.6 Content text, not long reading
#B171CE text on black 6.12:1 AA Lc -40.1 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 500.

  1. Step 50

    50

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E3D2EC

    oklch(88.5% 0.04 314.1)

  4. Step 300

    300

    #D2B3E2

    oklch(80.9% 0.073 314.1)

  5. Step 400

    400

    #BC8AD3

    oklch(70.8% 0.117 314.8)

  6. Step 500

    500 (this color)

    #B171CE

    oklch(65.2% 0.149 314.6)

  7. Step 600

    600

    #9550B4

    oklch(55.6% 0.162 314.2)

  8. Step 700

    700

    #7F409B

    oklch(49.1% 0.151 314.2)

  9. Step 800

    800

    #68367D

    oklch(42.8% 0.124 314.9)

  10. Step 900

    900

    #542F65

    oklch(37.6% 0.098 314.2)

  11. Step 950

    950

    #311C3B

    oklch(26.9% 0.062 314.1)

Export this scale for Tailwind in the Tailwind colors tool

#B171CE 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)#5F87D10.125
Deuteranopia (no green cones)#708CCB0.113
Tritanopia (no blue cones)#AF7E960.100
Achromatopsia (no color)#8A8A8A0.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #B171CE

    #B171CE

    oklch(65.2% 0.149 314.6)

  • #67A33D

    #67A33D

    oklch(65.2% 0.149 134.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B171CE

    #B171CE

    oklch(65.2% 0.149 314.6)

  • #8780E6

    #8780E6

    oklch(65.1% 0.149 284.6)

  • #CD66A5

    #CD66A5

    oklch(65.1% 0.149 344.5)

Open the analogous palette in the generator

Split complementary

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

  • #B171CE

    #B171CE

    oklch(65.2% 0.149 314.6)

  • #9E9300

    #9E9300

    oklch(65.2% 0.138 104.2)

  • #00A97A

    #00A97A

    oklch(65.1% 0.137 164.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B171CE

    #B171CE

    oklch(65.2% 0.149 314.6)

  • #C08100

    #C08100

    oklch(65.1% 0.138 74.7)

  • #00A4A4

    #00A4A4

    oklch(65.1% 0.111 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B171CE

    #B171CE

    oklch(65.2% 0.149 314.6)

  • #D86D3A

    #D86D3A

    oklch(65.1% 0.149 44.4)

  • #67A33D

    #67A33D

    oklch(65.2% 0.149 134.5)

  • #009FC8

    #009FC8

    oklch(65.3% 0.123 224.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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