#B166E4

Closest named color: Light Urple (#B36FF6). oklch(64.7% 0.191 309.6), rgb(177, 102, 228).

Aa

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

About this color

#B166E4 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.191 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.031 away. Black text reads best on it, at 5.89:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.191)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text5.89:1
White text3.56:1

Values

HEX#B166E4
RGBrgb(177, 102, 228)
HSLhsl(276, 70%, 65%)
OKLCHoklch(64.7% 0.191 309.6)

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 #B166E4 3.56:1 AA large text Lc -68.3 Content text, not long reading
Black text on #B166E4 5.89:1 AA Lc 41.2 Non-text elements, placeholder text
#B166E4 text on white 3.56:1 AA large text Lc 62.8 Content text, not long reading
#B166E4 text on black 5.89:1 AA Lc -38.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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F8

    oklch(93.5% 0.027 309.2)

  3. Step 200

    200

    #E3D0F4

    oklch(88.4% 0.053 309)

  4. Step 300

    300

    #D3B0EE

    oklch(80.9% 0.093 310)

  5. Step 400

    400

    #BC84E6

    oklch(70.6% 0.149 309.4)

  6. Step 500

    500 (this color)

    #B166E4

    oklch(64.7% 0.191 309.6)

  7. Step 600

    600

    #9743CC

    oklch(55.6% 0.207 309.4)

  8. Step 700

    700

    #8133B1

    oklch(49.1% 0.193 309.3)

  9. Step 800

    800

    #692C8F

    oklch(42.8% 0.16 309.5)

  10. Step 900

    900

    #552972

    oklch(37.6% 0.125 309.5)

  11. Step 950

    950

    #321943

    oklch(27% 0.079 309.6)

Export this scale for Tailwind in the Tailwind colors tool

#B166E4 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)#3E84E80.160
Deuteranopia (no green cones)#5989E10.143
Tritanopia (no blue cones)#AA7D9B0.136
Achromatopsia (no color)#8888880.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #B166E4

    #B166E4

    oklch(64.7% 0.191 309.6)

  • #6BA100

    #6BA100

    oklch(64.6% 0.173 129.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B166E4

    #B166E4

    oklch(64.7% 0.191 309.6)

  • #7A7BFE

    #7A7BFE

    oklch(64.7% 0.19 279.4)

  • #D656B3

    #D656B3

    oklch(64.8% 0.191 339.7)

Open the analogous palette in the generator

Split complementary

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

  • #B166E4

    #B166E4

    oklch(64.7% 0.191 309.6)

  • #A28F00

    #A28F00

    oklch(64.7% 0.134 99.9)

  • #00A96E

    #00A96E

    oklch(64.8% 0.147 159.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B166E4

    #B166E4

    oklch(64.7% 0.191 309.6)

  • #C47C00

    #C47C00

    oklch(64.7% 0.141 69.5)

  • #00A49D

    #00A49D

    oklch(64.8% 0.112 189.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B166E4

    #B166E4

    oklch(64.7% 0.191 309.6)

  • #EA591E

    #EA591E

    oklch(64.8% 0.191 39.5)

  • #6BA100

    #6BA100

    oklch(64.6% 0.173 129.5)

  • #009EBF

    #009EBF

    oklch(64.7% 0.117 219.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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