#B170BB

Closest named color: Soft Purple (#A66FB5). oklch(64.1% 0.13 322.1), rgb(177, 112, 187).

Aa

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

About this color

#B170BB is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.130 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.90:1.

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

Values

HEX#B170BB
RGBrgb(177, 112, 187)
HSLhsl(292, 36%, 59%)
OKLCHoklch(64.1% 0.13 322.1)

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 #B170BB 3.55:1 AA large text Lc -68.4 Content text, not long reading
Black text on #B170BB 5.90:1 AA Lc 41.1 Non-text elements, placeholder text
#B170BB text on white 3.55:1 AA large text Lc 62.9 Content text, not long reading
#B170BB text on black 5.90:1 AA Lc -38.7 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

    #D5B4D9

    oklch(81% 0.063 322.7)

  5. Step 400

    400

    #BF8BC6

    oklch(70.7% 0.102 322.5)

  6. Step 500

    500 (this color)

    #B170BB

    oklch(64.1% 0.13 322.1)

  7. Step 600

    600

    #9953A4

    oklch(55.6% 0.142 322)

  8. Step 700

    700

    #82438C

    oklch(49% 0.132 322)

  9. Step 800

    800

    #6A3872

    oklch(42.7% 0.109 321.9)

  10. Step 900

    900

    #56315C

    oklch(37.7% 0.084 321.8)

  11. Step 950

    950

    #331D36

    oklch(27.1% 0.054 322.6)

Export this scale for Tailwind in the Tailwind colors tool

#B170BB 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)#6783BE0.116
Deuteranopia (no green cones)#788AB90.105
Tritanopia (no blue cones)#B3798D0.080
Achromatopsia (no color)#8888880.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #B170BB

    #B170BB

    oklch(64.1% 0.13 322.1)

  • #5BA054

    #5BA054

    oklch(64.1% 0.13 142)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B170BB

    #B170BB

    oklch(64.1% 0.13 322.1)

  • #8F7CD4

    #8F7CD4

    oklch(64.1% 0.13 292.3)

  • #C76995

    #C76995

    oklch(64.2% 0.129 351.9)

Open the analogous palette in the generator

Split complementary

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

  • #B170BB

    #B170BB

    oklch(64.1% 0.13 322.1)

  • #8F9423

    #8F9423

    oklch(64.2% 0.13 112.1)

  • #00A484

    #00A484

    oklch(64% 0.124 172.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B170BB

    #B170BB

    oklch(64.1% 0.13 322.1)

  • #B3830B

    #B3830B

    oklch(64% 0.13 82.1)

  • #00A0A9

    #00A0A9

    oklch(64.2% 0.109 201.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B170BB

    #B170BB

    oklch(64.1% 0.13 322.1)

  • #C9733A

    #C9733A

    oklch(64.1% 0.13 51.8)

  • #5BA054

    #5BA054

    oklch(64.1% 0.13 142)

  • #0699CD

    #0699CD

    oklch(64.1% 0.129 231.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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