#B166D1

Closest named color: Medium Orchid (#BA55D3). oklch(63.7% 0.17 314.9), rgb(177, 102, 209).

Aa

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

About this color

#B166D1 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.170 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.037 away. Black text reads best on it, at 5.69:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.170)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.69:1
White text3.69:1

Values

HEX#B166D1
RGBrgb(177, 102, 209)
HSLhsl(282, 54%, 61%)
OKLCHoklch(63.7% 0.17 314.9)

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 #B166D1 3.69:1 AA large text Lc -69.6 Content text, not long reading
Black text on #B166D1 5.69:1 AA Lc 39.9 Non-text elements, placeholder text
#B166D1 text on white 3.69:1 AA large text Lc 64.1 Content text, not long reading
#B166D1 text on black 5.69:1 AA Lc -37.5 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F5

    oklch(93.5% 0.024 315.5)

  3. Step 200

    200

    #E5D0EF

    oklch(88.4% 0.048 315)

  4. Step 300

    300

    #D5B1E6

    oklch(80.9% 0.083 314.8)

  5. Step 400

    400

    #C086DA

    oklch(70.8% 0.134 314.9)

  6. Step 500

    500 (this color)

    #B166D1

    oklch(63.7% 0.17 314.9)

  7. Step 600

    600

    #9A48BC

    oklch(55.6% 0.185 314.7)

  8. Step 700

    700

    #8438A2

    oklch(49.1% 0.173 315)

  9. Step 800

    800

    #6B3083

    oklch(42.7% 0.142 314.9)

  10. Step 900

    900

    #572B69

    oklch(37.6% 0.111 315.1)

  11. Step 950

    950

    #331A3E

    oklch(27% 0.071 314.6)

Export this scale for Tailwind in the Tailwind colors tool

#B166D1 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)#4E81D50.149
Deuteranopia (no green cones)#6587CE0.133
Tritanopia (no blue cones)#AF77920.114
Achromatopsia (no color)#8585850.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #B166D1

    #B166D1

    oklch(63.7% 0.17 314.9)

  • #5AA022

    #5AA022

    oklch(63.5% 0.17 134.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B166D1

    #B166D1

    oklch(63.7% 0.17 314.9)

  • #8377ED

    #8377ED

    oklch(63.6% 0.171 285)

  • #D059A3

    #D059A3

    oklch(63.7% 0.171 344.8)

Open the analogous palette in the generator

Split complementary

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

  • #B166D1

    #B166D1

    oklch(63.7% 0.17 314.9)

  • #988F00

    #988F00

    oklch(63.8% 0.135 105.2)

  • #00A476

    #00A476

    oklch(63.7% 0.134 164.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B166D1

    #B166D1

    oklch(63.7% 0.17 314.9)

  • #BA7D00

    #BA7D00

    oklch(63.7% 0.134 74.8)

  • #009F9F

    #009F9F

    oklch(63.6% 0.109 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B166D1

    #B166D1

    oklch(63.7% 0.17 314.9)

  • #DC611C

    #DC611C

    oklch(63.7% 0.171 44.7)

  • #5AA022

    #5AA022

    oklch(63.5% 0.17 134.8)

  • #0099C2

    #0099C2

    oklch(63.6% 0.121 225.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #B166D1.

Similar named colors

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

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