#B173AC

Closest named color: Soft Purple (#A66FB5). oklch(64% 0.109 329.6), rgb(177, 115, 172).

Aa

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

About this color

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

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

Values

HEX#B173AC
RGBrgb(177, 115, 172)
HSLhsl(305, 28%, 57%)
OKLCHoklch(64% 0.109 329.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 #B173AC 3.54:1 AA large text Lc -68.4 Content text, not long reading
Black text on #B173AC 5.91:1 AA Lc 41.2 Non-text elements, placeholder text
#B173AC text on white 3.54:1 AA large text Lc 62.9 Content text, not long reading
#B173AC text on black 5.91:1 AA Lc -38.8 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

    #F0E6EF

    oklch(93.5% 0.016 328.8)

  3. Step 200

    200

    #E5D2E3

    oklch(88.4% 0.031 329.1)

  4. Step 300

    300

    #D5B5D1

    oklch(80.9% 0.052 330.2)

  5. Step 400

    400

    #BF8DBA

    oklch(70.6% 0.086 329.9)

  6. Step 500

    500 (this color)

    #B173AC

    oklch(64% 0.109 329.6)

  7. Step 600

    600

    #995894

    oklch(55.6% 0.117 329.8)

  8. Step 700

    700

    #83477F

    oklch(49.1% 0.112 329.6)

  9. Step 800

    800

    #6A3B67

    oklch(42.7% 0.091 329.4)

  10. Step 900

    900

    #563354

    oklch(37.7% 0.071 328.9)

  11. Step 950

    950

    #331E31

    oklch(27% 0.045 330.1)

Export this scale for Tailwind in the Tailwind colors tool

#B173AC 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)#7083AE0.104
Deuteranopia (no green cones)#808BAA0.095
Tritanopia (no blue cones)#B677880.059
Achromatopsia (no color)#8888880.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #B173AC

    #B173AC

    oklch(64% 0.109 329.6)

  • #589F68

    #589F68

    oklch(64.1% 0.109 149.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B173AC

    #B173AC

    oklch(64% 0.109 329.6)

  • #967CC5

    #967CC5

    oklch(63.9% 0.11 299.7)

  • #C16F8A

    #C16F8A

    oklch(64% 0.108 359.5)

Open the analogous palette in the generator

Split complementary

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

  • #B173AC

    #B173AC

    oklch(64% 0.109 329.6)

  • #849644

    #849644

    oklch(64.1% 0.11 119.9)

  • #21A18E

    #21A18E

    oklch(63.9% 0.109 179.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B173AC

    #B173AC

    oklch(64% 0.109 329.6)

  • #A68833

    #A68833

    oklch(63.9% 0.108 89.3)

  • #0A9EB0

    #0A9EB0

    oklch(64.1% 0.109 209.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B173AC

    #B173AC

    oklch(64% 0.109 329.6)

  • #BC7B43

    #BC7B43

    oklch(64% 0.108 59.7)

  • #589F68

    #589F68

    oklch(64.1% 0.109 149.7)

  • #4594C7

    #4594C7

    oklch(63.9% 0.109 239.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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