#B171BA

Closest named color: Soft Purple (#A66FB5). oklch(64.3% 0.127 322.4), rgb(177, 113, 186).

Aa

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

About this color

#B171BA is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.127 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.021 away. Black text reads best on it, at 5.94:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.94:1
White text3.53:1

Values

HEX#B171BA
RGBrgb(177, 113, 186)
HSLhsl(293, 35%, 59%)
OKLCHoklch(64.3% 0.127 322.4)

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 #B171BA 3.53:1 AA large text Lc -68.2 Content text, not long reading
Black text on #B171BA 5.94:1 AA Lc 41.3 Non-text elements, placeholder text
#B171BA text on white 3.53:1 AA large text Lc 62.7 Content text, not long reading
#B171BA text on black 5.94:1 AA Lc -38.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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #F0E6F1

    oklch(93.6% 0.018 323)

  3. Step 200

    200

    #E5D2E7

    oklch(88.5% 0.035 322.9)

  4. Step 300

    300

    #D4B4D9

    oklch(80.9% 0.062 321.7)

  5. Step 400

    400

    #BE8CC5

    oklch(70.7% 0.098 322.3)

  6. Step 500

    500 (this color)

    #B171BA

    oklch(64.3% 0.127 322.4)

  7. Step 600

    600

    #9854A2

    oklch(55.5% 0.138 322.3)

  8. Step 700

    700

    #82448B

    oklch(49.1% 0.129 322.4)

  9. Step 800

    800

    #6A3871

    oklch(42.7% 0.108 322.5)

  10. Step 900

    900

    #56315B

    oklch(37.7% 0.083 322.6)

  11. Step 950

    950

    #321D35

    oklch(26.9% 0.052 322.4)

Export this scale for Tailwind in the Tailwind colors tool

#B171BA 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)#6984BD0.114
Deuteranopia (no green cones)#798BB80.104
Tritanopia (no blue cones)#B3798D0.077
Achromatopsia (no color)#8888880.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #B171BA

    #B171BA

    oklch(64.3% 0.127 322.4)

  • #5CA056

    #5CA056

    oklch(64.2% 0.127 142.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B171BA

    #B171BA

    oklch(64.3% 0.127 322.4)

  • #907DD3

    #907DD3

    oklch(64.3% 0.127 292.6)

  • #C76A94

    #C76A94

    oklch(64.3% 0.127 352.8)

Open the analogous palette in the generator

Split complementary

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

  • #B171BA

    #B171BA

    oklch(64.3% 0.127 322.4)

  • #8F9429

    #8F9429

    oklch(64.2% 0.126 112.1)

  • #00A585

    #00A585

    oklch(64.3% 0.124 172.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B171BA

    #B171BA

    oklch(64.3% 0.127 322.4)

  • #B38415

    #B38415

    oklch(64.3% 0.127 82.1)

  • #00A0AA

    #00A0AA

    oklch(64.3% 0.109 202.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B171BA

    #B171BA

    oklch(64.3% 0.127 322.4)

  • #C8753C

    #C8753C

    oklch(64.3% 0.126 52.8)

  • #5CA056

    #5CA056

    oklch(64.2% 0.127 142.2)

  • #1799CD

    #1799CD

    oklch(64.3% 0.127 232.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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