#B166BE

Closest named color: Soft Purple (#A66FB5). oklch(62.7% 0.15 321.5), rgb(177, 102, 190).

Aa

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

About this color

#B166BE is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.150 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.032 away. Black text reads best on it, at 5.51:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.150)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.51:1
White text3.80:1

Values

HEX#B166BE
RGBrgb(177, 102, 190)
HSLhsl(291, 40%, 57%)
OKLCHoklch(62.7% 0.15 321.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 #B166BE 3.80:1 AA large text Lc -70.8 Content text, not long reading
Black text on #B166BE 5.51:1 AA Lc 38.8 Non-text elements, placeholder text
#B166BE text on white 3.80:1 AA large text Lc 65.3 Content text, not long reading
#B166BE text on black 5.51:1 AA Lc -36.4 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E5F3

    oklch(93.5% 0.023 321.4)

  3. Step 200

    200

    #E6D1EA

    oklch(88.5% 0.041 320.8)

  4. Step 300

    300

    #D7B1DE

    oklch(80.8% 0.075 321.1)

  5. Step 400

    400

    #C287CD

    oklch(70.6% 0.118 321.1)

  6. Step 500

    500 (this color)

    #B166BE

    oklch(62.7% 0.15 321.5)

  7. Step 600

    600

    #9D4CAC

    oklch(55.5% 0.164 321.2)

  8. Step 700

    700

    #863D93

    oklch(49.1% 0.151 321.4)

  9. Step 800

    800

    #6D3377

    oklch(42.7% 0.125 321.6)

  10. Step 900

    900

    #592D60

    oklch(37.7% 0.098 322)

  11. Step 950

    950

    #341B38

    oklch(26.9% 0.062 321.9)

Export this scale for Tailwind in the Tailwind colors tool

#B166BE 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)#5A7DC10.137
Deuteranopia (no green cones)#6F86BB0.124
Tritanopia (no blue cones)#B371890.093
Achromatopsia (no color)#8383830.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #B166BE

    #B166BE

    oklch(62.7% 0.15 321.5)

  • #4D9E43

    #4D9E43

    oklch(62.7% 0.15 141.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B166BE

    #B166BE

    oklch(62.7% 0.15 321.5)

  • #8B74DB

    #8B74DB

    oklch(62.7% 0.151 291.7)

  • #CA5D92

    #CA5D92

    oklch(62.7% 0.15 351.9)

Open the analogous palette in the generator

Split complementary

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

  • #B166BE

    #B166BE

    oklch(62.7% 0.15 321.5)

  • #8C8F00

    #8C8F00

    oklch(62.7% 0.138 111.3)

  • #009F7F

    #009F7F

    oklch(62.6% 0.122 171.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B166BE

    #B166BE

    oklch(62.7% 0.15 321.5)

  • #AF7F00

    #AF7F00

    oklch(62.7% 0.129 81.9)

  • #009BA3

    #009BA3

    oklch(62.7% 0.107 201.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B166BE

    #B166BE

    oklch(62.7% 0.15 321.5)

  • #CD691E

    #CD691E

    oklch(62.7% 0.15 51.6)

  • #4D9E43

    #4D9E43

    oklch(62.7% 0.15 141.5)

  • #0094C7

    #0094C7

    oklch(62.6% 0.127 231.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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