#B173B2

Closest named color: Soft Purple (#A66FB5). oklch(64.2% 0.115 326.3), rgb(177, 115, 178).

Aa

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

About this color

#B173B2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.115 and its hue 326°. 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.96:1.

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

Values

HEX#B173B2
RGBrgb(177, 115, 178)
HSLhsl(299, 29%, 57%)
OKLCHoklch(64.2% 0.115 326.3)

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 #B173B2 3.52:1 AA large text Lc -68.1 Content text, not long reading
Black text on #B173B2 5.96:1 AA Lc 41.5 Non-text elements, placeholder text
#B173B2 text on white 3.52:1 AA large text Lc 62.6 Content text, not long reading
#B173B2 text on black 5.96:1 AA Lc -39.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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E6F0

    oklch(93.6% 0.017 325.7)

  3. Step 200

    200

    #E5D2E4

    oklch(88.5% 0.032 327.4)

  4. Step 300

    300

    #D4B5D4

    oklch(80.9% 0.055 326.1)

  5. Step 400

    400

    #BE8DBF

    oklch(70.7% 0.09 325.8)

  6. Step 500

    500 (this color)

    #B173B2

    oklch(64.2% 0.115 326.3)

  7. Step 600

    600

    #98579A

    oklch(55.6% 0.124 326)

  8. Step 700

    700

    #824683

    oklch(49% 0.117 326.6)

  9. Step 800

    800

    #6A3A6B

    oklch(42.7% 0.097 326.4)

  10. Step 900

    900

    #563257

    oklch(37.6% 0.076 326)

  11. Step 950

    950

    #321E33

    oklch(27% 0.047 325.1)

Export this scale for Tailwind in the Tailwind colors tool

#B173B2 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)#6E84B40.107
Deuteranopia (no green cones)#7E8BB00.096
Tritanopia (no blue cones)#B5798A0.068
Achromatopsia (no color)#8989890.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #B173B2

    #B173B2

    oklch(64.2% 0.115 326.3)

  • #5B9F62

    #5B9F62

    oklch(64.1% 0.114 146.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B173B2

    #B173B2

    oklch(64.2% 0.115 326.3)

  • #947DCB

    #947DCB

    oklch(64.2% 0.116 296.6)

  • #C36E8F

    #C36E8F

    oklch(64.3% 0.114 356.1)

Open the analogous palette in the generator

Split complementary

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

  • #B173B2

    #B173B2

    oklch(64.2% 0.115 326.3)

  • #89953C

    #89953C

    oklch(64.1% 0.114 116.2)

  • #19A38B

    #19A38B

    oklch(64.2% 0.115 176.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B173B2

    #B173B2

    oklch(64.2% 0.115 326.3)

  • #AC872B

    #AC872B

    oklch(64.2% 0.115 85.9)

  • #009FAE

    #009FAE

    oklch(64.2% 0.11 206.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B173B2

    #B173B2

    oklch(64.2% 0.115 326.3)

  • #C17942

    #C17942

    oklch(64.2% 0.114 56.2)

  • #5B9F62

    #5B9F62

    oklch(64.1% 0.114 146.4)

  • #3997C9

    #3997C9

    oklch(64.3% 0.114 236)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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