#B171BF

Closest named color: Soft Purple (#A66FB5). oklch(64.5% 0.132 320.2), rgb(177, 113, 191).

Aa

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

About this color

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

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

Values

HEX#B171BF
RGBrgb(177, 113, 191)
HSLhsl(289, 38%, 60%)
OKLCHoklch(64.5% 0.132 320.2)

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 #B171BF 3.50:1 AA large text Lc -67.9 Content text, not long reading
Black text on #B171BF 5.98:1 AA Lc 41.6 Non-text elements, placeholder text
#B171BF text on white 3.50:1 AA large text Lc 62.5 Content text, not long reading
#B171BF text on black 5.98:1 AA Lc -39.2 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

    #F0E6F2

    oklch(93.6% 0.019 320.6)

  3. Step 200

    200

    #E4D2E8

    oklch(88.5% 0.035 320.1)

  4. Step 300

    300

    #D4B4DB

    oklch(81% 0.064 320.2)

  5. Step 400

    400

    #BE8BC9

    oklch(70.7% 0.104 320.3)

  6. Step 500

    500 (this color)

    #B171BF

    oklch(64.5% 0.132 320.2)

  7. Step 600

    600

    #9853A7

    oklch(55.6% 0.145 320.2)

  8. Step 700

    700

    #81438F

    oklch(49.1% 0.134 320)

  9. Step 800

    800

    #693874

    oklch(42.7% 0.11 320)

  10. Step 900

    900

    #56315E

    oklch(37.8% 0.087 320.3)

  11. Step 950

    950

    #321D37

    oklch(27% 0.055 319.7)

Export this scale for Tailwind in the Tailwind colors tool

#B171BF 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)#6684C20.117
Deuteranopia (no green cones)#778BBD0.106
Tritanopia (no blue cones)#B27A8F0.083
Achromatopsia (no color)#8989890.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #B171BF

    #B171BF

    oklch(64.5% 0.132 320.2)

  • #5EA151

    #5EA151

    oklch(64.5% 0.132 140.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B171BF

    #B171BF

    oklch(64.5% 0.132 320.2)

  • #8E7ED8

    #8E7ED8

    oklch(64.6% 0.132 290.4)

  • #C86999

    #C86999

    oklch(64.5% 0.133 349.9)

Open the analogous palette in the generator

Split complementary

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

  • #B171BF

    #B171BF

    oklch(64.5% 0.132 320.2)

  • #93941D

    #93941D

    oklch(64.5% 0.132 110.1)

  • #00A682

    #00A682

    oklch(64.5% 0.127 170.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B171BF

    #B171BF

    oklch(64.5% 0.132 320.2)

  • #B78305

    #B78305

    oklch(64.5% 0.132 80.3)

  • #00A1A8

    #00A1A8

    oklch(64.5% 0.11 200.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B171BF

    #B171BF

    oklch(64.5% 0.132 320.2)

  • #CC733B

    #CC733B

    oklch(64.5% 0.132 50.6)

  • #5EA151

    #5EA151

    oklch(64.5% 0.132 140.4)

  • #009BCD

    #009BCD

    oklch(64.6% 0.129 230.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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