#B166BC

Closest named color: Soft Purple (#A66FB5). oklch(62.6% 0.148 322.3), rgb(177, 102, 188).

Aa

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

About this color

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

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

Values

HEX#B166BC
RGBrgb(177, 102, 188)
HSLhsl(292, 39%, 57%)
OKLCHoklch(62.6% 0.148 322.3)

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 #B166BC 3.82:1 AA large text Lc -70.9 Content text, not long reading
Black text on #B166BC 5.49:1 AA Lc 38.7 Non-text elements, placeholder text
#B166BC text on white 3.82:1 AA large text Lc 65.4 Content text, not long reading
#B166BC text on black 5.49:1 AA Lc -36.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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E5F2

    oklch(93.5% 0.022 323.4)

  3. Step 200

    200

    #E6D1E9

    oklch(88.5% 0.04 322)

  4. Step 300

    300

    #D7B1DD

    oklch(80.8% 0.074 321.7)

  5. Step 400

    400

    #C387CB

    oklch(70.6% 0.117 322.6)

  6. Step 500

    500 (this color)

    #B166BC

    oklch(62.6% 0.148 322.3)

  7. Step 600

    600

    #9E4DAA

    oklch(55.7% 0.161 322.3)

  8. Step 700

    700

    #873D92

    oklch(49.2% 0.15 322.3)

  9. Step 800

    800

    #6E3376

    oklch(42.7% 0.124 322.7)

  10. Step 900

    900

    #592E5F

    oklch(37.8% 0.095 322.6)

  11. Step 950

    950

    #341B38

    oklch(26.9% 0.062 321.9)

Export this scale for Tailwind in the Tailwind colors tool

#B166BC 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)#5B7DBF0.136
Deuteranopia (no green cones)#7085B90.122
Tritanopia (no blue cones)#B370880.090
Achromatopsia (no color)#8282820.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #B166BC

    #B166BC

    oklch(62.6% 0.148 322.3)

  • #4C9E45

    #4C9E45

    oklch(62.7% 0.149 142.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B166BC

    #B166BC

    oklch(62.6% 0.148 322.3)

  • #8C74D9

    #8C74D9

    oklch(62.6% 0.149 292.5)

  • #C95D91

    #C95D91

    oklch(62.6% 0.149 352.1)

Open the analogous palette in the generator

Split complementary

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

  • #B166BC

    #B166BC

    oklch(62.6% 0.148 322.3)

  • #8A8F00

    #8A8F00

    oklch(62.5% 0.139 112.2)

  • #009F80

    #009F80

    oklch(62.6% 0.121 172.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B166BC

    #B166BC

    oklch(62.6% 0.148 322.3)

  • #AE7F00

    #AE7F00

    oklch(62.6% 0.129 82.4)

  • #009AA4

    #009AA4

    oklch(62.5% 0.106 202.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B166BC

    #B166BC

    oklch(62.6% 0.148 322.3)

  • #CB6A1E

    #CB6A1E

    oklch(62.6% 0.148 52.7)

  • #4C9E45

    #4C9E45

    oklch(62.7% 0.149 142.1)

  • #0094C8

    #0094C8

    oklch(62.6% 0.128 232.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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