#B166A3

Closest named color: Soft Purple (#A66FB5). oklch(61.5% 0.124 334.2), rgb(177, 102, 163).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.29:1
White text3.96:1

Values

HEX#B166A3
RGBrgb(177, 102, 163)
HSLhsl(311, 32%, 55%)
OKLCHoklch(61.5% 0.124 334.2)

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 #B166A3 3.96:1 AA large text Lc -72.2 Content text, not long reading
Black text on #B166A3 5.29:1 AA Lc 37.4 Non-text elements, placeholder text
#B166A3 text on white 3.96:1 AA large text Lc 66.7 Content text, not long reading
#B166A3 text on black 5.29:1 AA Lc -34.9 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

    #E8D1E2

    oklch(88.5% 0.034 334.9)

  4. Step 300

    300

    #DAB2D1

    oklch(80.8% 0.062 334.1)

  5. Step 400

    400

    #C689BA

    oklch(70.6% 0.099 333.8)

  6. Step 500

    500 (this color)

    #B166A3

    oklch(61.5% 0.124 334.2)

  7. Step 600

    600

    #A15193

    oklch(55.5% 0.135 334.2)

  8. Step 700

    700

    #8A417D

    oklch(49% 0.126 334.5)

  9. Step 800

    800

    #703666

    oklch(42.6% 0.105 334.1)

  10. Step 900

    900

    #5B3053

    oklch(37.8% 0.08 334.3)

  11. Step 950

    950

    #351C31

    oklch(26.9% 0.052 333)

Export this scale for Tailwind in the Tailwind colors tool

#B166A3 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)#6679A50.123
Deuteranopia (no green cones)#7984A10.113
Tritanopia (no blue cones)#B76A7D0.063
Achromatopsia (no color)#8080800.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #B166A3

    #B166A3

    oklch(61.5% 0.124 334.2)

  • #3B9A61

    #3B9A61

    oklch(61.5% 0.125 153.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B166A3

    #B166A3

    oklch(61.5% 0.124 334.2)

  • #9570C1

    #9570C1

    oklch(61.5% 0.125 304)

  • #C1627C

    #C1627C

    oklch(61.5% 0.124 4)

Open the analogous palette in the generator

Split complementary

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

  • #B166A3

    #B166A3

    oklch(61.5% 0.124 334.2)

  • #759133

    #759133

    oklch(61.5% 0.125 124.2)

  • #00998C

    #00998C

    oklch(61.4% 0.109 184.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B166A3

    #B166A3

    oklch(61.5% 0.124 334.2)

  • #9D8208

    #9D8208

    oklch(61.4% 0.124 94)

  • #0095AC

    #0095AC

    oklch(61.6% 0.108 213.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B166A3

    #B166A3

    oklch(61.5% 0.124 334.2)

  • #B77224

    #B77224

    oklch(61.4% 0.124 64.1)

  • #3B9A61

    #3B9A61

    oklch(61.5% 0.125 153.9)

  • #368BC9

    #368BC9

    oklch(61.4% 0.124 244.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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