#B170A3

Closest named color: Soft Purple (#A66FB5). oklch(63.1% 0.106 335), rgb(177, 112, 163).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.71:1
White text3.67:1

Values

HEX#B170A3
RGBrgb(177, 112, 163)
HSLhsl(313, 29%, 57%)
OKLCHoklch(63.1% 0.106 335)

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 #B170A3 3.67:1 AA large text Lc -69.6 Content text, not long reading
Black text on #B170A3 5.71:1 AA Lc 39.9 Non-text elements, placeholder text
#B170A3 text on white 3.67:1 AA large text Lc 64.2 Content text, not long reading
#B170A3 text on black 5.71:1 AA Lc -37.5 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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F1E6EE

    oklch(93.6% 0.016 335.1)

  3. Step 200

    200

    #E6D2E1

    oklch(88.4% 0.03 334.4)

  4. Step 300

    300

    #D7B5CE

    oklch(81% 0.051 335.5)

  5. Step 400

    400

    #C18DB5

    oklch(70.6% 0.083 334.9)

  6. Step 500

    500 (this color)

    #B170A3

    oklch(63.1% 0.106 335)

  7. Step 600

    600

    #9C578E

    oklch(55.6% 0.116 335)

  8. Step 700

    700

    #854779

    oklch(49.1% 0.108 334.7)

  9. Step 800

    800

    #6C3B62

    oklch(42.7% 0.088 335)

  10. Step 900

    900

    #583350

    oklch(37.8% 0.069 335.2)

  11. Step 950

    950

    #341E2F

    oklch(27.1% 0.044 335.4)

Export this scale for Tailwind in the Tailwind colors tool

#B170A3 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)#7080A50.105
Deuteranopia (no green cones)#8089A10.097
Tritanopia (no blue cones)#B773830.053
Achromatopsia (no color)#8585850.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #B170A3

    #B170A3

    oklch(63.1% 0.106 335)

  • #4E9C6D

    #4E9C6D

    oklch(63% 0.106 155.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B170A3

    #B170A3

    oklch(63.1% 0.106 335)

  • #9878BD

    #9878BD

    oklch(63% 0.107 304.8)

  • #BF6D81

    #BF6D81

    oklch(63.2% 0.106 4.9)

Open the analogous palette in the generator

Split complementary

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

  • #B170A3

    #B170A3

    oklch(63.1% 0.106 335)

  • #7B9549

    #7B9549

    oklch(63.2% 0.107 125)

  • #1A9E92

    #1A9E92

    oklch(63.1% 0.106 185.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B170A3

    #B170A3

    oklch(63.1% 0.106 335)

  • #9E8834

    #9E8834

    oklch(63.1% 0.106 94.4)

  • #1B99B1

    #1B99B1

    oklch(63% 0.106 214.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B170A3

    #B170A3

    oklch(63.1% 0.106 335)

  • #B57B3E

    #B57B3E

    oklch(63% 0.106 65.1)

  • #4E9C6D

    #4E9C6D

    oklch(63% 0.106 155.3)

  • #4D90C5

    #4D90C5

    oklch(63.2% 0.105 244.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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