#B171CA

Closest named color: Wisteria (#A87DC2). oklch(65% 0.144 316), rgb(177, 113, 202).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.144)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.08:1
White text3.45:1

Values

HEX#B171CA
RGBrgb(177, 113, 202)
HSLhsl(283, 46%, 62%)
OKLCHoklch(65% 0.144 316)

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 #B171CA 3.45:1 AA large text Lc -67.3 Content text, not long reading
Black text on #B171CA 6.08:1 AA Lc 42.2 Non-text elements, placeholder text
#B171CA text on white 3.45:1 AA large text Lc 61.8 Content text, not long reading
#B171CA text on black 6.08:1 AA Lc -39.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 500.

  1. Step 50

    50

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E4D2EB

    oklch(88.6% 0.039 316.6)

  4. Step 300

    300

    #D3B3E0

    oklch(80.9% 0.071 316.1)

  5. Step 400

    400

    #BC8AD0

    oklch(70.6% 0.113 316)

  6. Step 500

    500 (this color)

    #B171CA

    oklch(65% 0.144 316)

  7. Step 600

    600

    #9651B0

    oklch(55.6% 0.157 316)

  8. Step 700

    700

    #804197

    oklch(49.1% 0.146 316.2)

  9. Step 800

    800

    #68367B

    oklch(42.7% 0.121 315.9)

  10. Step 900

    900

    #553063

    oklch(37.8% 0.094 316.1)

  11. Step 950

    950

    #321C3A

    oklch(27% 0.061 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#B171CA 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)#6186CD0.123
Deuteranopia (no green cones)#728CC70.111
Tritanopia (no blue cones)#B07D940.095
Achromatopsia (no color)#8A8A8A0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #B171CA

    #B171CA

    oklch(65% 0.144 316)

  • #64A243

    #64A243

    oklch(64.9% 0.144 136.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B171CA

    #B171CA

    oklch(65% 0.144 316)

  • #8980E2

    #8980E2

    oklch(65.1% 0.143 285.9)

  • #CC67A2

    #CC67A2

    oklch(65% 0.145 345.8)

Open the analogous palette in the generator

Split complementary

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

  • #B171CA

    #B171CA

    oklch(65% 0.144 316)

  • #9B9300

    #9B9300

    oklch(64.9% 0.138 105.8)

  • #00A87C

    #00A87C

    oklch(64.9% 0.134 166.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B171CA

    #B171CA

    oklch(65% 0.144 316)

  • #BE8100

    #BE8100

    oklch(64.9% 0.137 75.6)

  • #00A4A5

    #00A4A5

    oklch(65.1% 0.111 195.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B171CA

    #B171CA

    oklch(65% 0.144 316)

  • #D56F3A

    #D56F3A

    oklch(65% 0.145 46.1)

  • #64A243

    #64A243

    oklch(64.9% 0.144 136.1)

  • #009EC9

    #009EC9

    oklch(65.1% 0.124 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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