#B166A8

Closest named color: Soft Purple (#A66FB5). oklch(61.7% 0.129 331.5), rgb(177, 102, 168).

Aa

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

About this color

#B166A8 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.129 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.030 away. Black text reads best on it, at 5.33:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.33:1
White text3.93:1

Values

HEX#B166A8
RGBrgb(177, 102, 168)
HSLhsl(307, 32%, 55%)
OKLCHoklch(61.7% 0.129 331.5)

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 #B166A8 3.93:1 AA large text Lc -72.0 Content text, not long reading
Black text on #B166A8 5.33:1 AA Lc 37.6 Non-text elements, placeholder text
#B166A8 text on white 3.93:1 AA large text Lc 66.5 Content text, not long reading
#B166A8 text on black 5.33:1 AA Lc -35.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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E6EF

    oklch(93.7% 0.018 334.2)

  3. Step 200

    200

    #E8D1E4

    oklch(88.5% 0.036 331.6)

  4. Step 300

    300

    #D9B2D3

    oklch(80.8% 0.063 331.4)

  5. Step 400

    400

    #C589BD

    oklch(70.6% 0.1 331.3)

  6. Step 500

    500 (this color)

    #B166A8

    oklch(61.7% 0.129 331.5)

  7. Step 600

    600

    #A15098

    oklch(55.6% 0.141 331.6)

  8. Step 700

    700

    #894182

    oklch(49.1% 0.13 331.1)

  9. Step 800

    800

    #703669

    oklch(42.8% 0.107 332)

  10. Step 900

    900

    #5B2F56

    oklch(37.7% 0.085 331.4)

  11. Step 950

    950

    #351C32

    oklch(27% 0.053 331.4)

Export this scale for Tailwind in the Tailwind colors tool

#B166A8 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)#647AAA0.126
Deuteranopia (no green cones)#7884A60.114
Tritanopia (no blue cones)#B76B7F0.069
Achromatopsia (no color)#8080800.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #B166A8

    #B166A8

    oklch(61.7% 0.129 331.5)

  • #3E9B5C

    #3E9B5C

    oklch(61.8% 0.13 151.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B166A8

    #B166A8

    oklch(61.7% 0.129 331.5)

  • #9371C6

    #9371C6

    oklch(61.7% 0.129 301.2)

  • #C36180

    #C36180

    oklch(61.8% 0.129 1.5)

Open the analogous palette in the generator

Split complementary

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

  • #B166A8

    #B166A8

    oklch(61.7% 0.129 331.5)

  • #79912B

    #79912B

    oklch(61.8% 0.129 121.8)

  • #009A8A

    #009A8A

    oklch(61.6% 0.11 182.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B166A8

    #B166A8

    oklch(61.7% 0.129 331.5)

  • #A18100

    #A18100

    oklch(61.6% 0.126 91.2)

  • #0096AA

    #0096AA

    oklch(61.7% 0.107 211.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B166A8

    #B166A8

    oklch(61.7% 0.129 331.5)

  • #BB7122

    #BB7122

    oklch(61.7% 0.128 62)

  • #3E9B5C

    #3E9B5C

    oklch(61.8% 0.13 151.3)

  • #2A8DCB

    #2A8DCB

    oklch(61.7% 0.129 241.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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