#8166C6

Closest named color: Deep Lavender (#8D5EB7). oklch(58% 0.144 294.4), rgb(129, 102, 198).

Aa

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

About this color

#8166C6 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.144 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.033 away. Black text reads best on it, at 4.64:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.144)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.64:1
White text4.51:1

Values

HEX#8166C6
RGBrgb(129, 102, 198)
HSLhsl(257, 46%, 59%)
OKLCHoklch(58% 0.144 294.4)

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 #8166C6 4.51:1 AA Lc -76.6 Fine for body text
Black text on #8166C6 4.64:1 AA Lc 32.9 Non-text elements, placeholder text
#8166C6 text on white 4.51:1 AA Lc 71.2 Content text, not long reading
#8166C6 text on black 4.64:1 AA Lc -30.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 600.

  1. Step 50

    50

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EAE8F6

    oklch(93.7% 0.019 292.6)

  3. Step 200

    200

    #DAD5EF

    oklch(88.5% 0.036 294.5)

  4. Step 300

    300

    #C3B9E7

    oklch(80.9% 0.065 294.9)

  5. Step 400

    400

    #A494DB

    oklch(70.7% 0.103 293.9)

  6. Step 500

    500

    #8F78D1

    oklch(63.2% 0.132 294.2)

  7. Step 600

    600 (this color)

    #8166C6

    oklch(58% 0.144 294.4)

  8. Step 700

    700

    #674EA4

    oklch(49.2% 0.134 294.4)

  9. Step 800

    800

    #544085

    oklch(42.7% 0.111 294.6)

  10. Step 900

    900

    #45376A

    oklch(37.7% 0.086 294.6)

  11. Step 950

    950

    #28203E

    oklch(26.8% 0.055 294.7)

Export this scale for Tailwind in the Tailwind colors tool

#8166C6 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)#4477C90.085
Deuteranopia (no green cones)#4975C40.081
Tritanopia (no blue cones)#71798D0.116
Achromatopsia (no color)#7676760.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #8166C6

    #8166C6

    oklch(58% 0.144 294.4)

  • #798200

    #798200

    oklch(57.9% 0.131 114.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8166C6

    #8166C6

    oklch(58% 0.144 294.4)

  • #4F76CF

    #4F76CF

    oklch(58.1% 0.144 264.5)

  • #A359A9

    #A359A9

    oklch(58% 0.143 324.4)

Open the analogous palette in the generator

Split complementary

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

  • #8166C6

    #8166C6

    oklch(58% 0.144 294.4)

  • #9B7300

    #9B7300

    oklch(58% 0.119 84.2)

  • #39903E

    #39903E

    oklch(58.1% 0.145 144.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8166C6

    #8166C6

    oklch(58% 0.144 294.4)

  • #B95E02

    #B95E02

    oklch(58% 0.144 54.5)

  • #008F76

    #008F76

    oklch(58% 0.11 174.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8166C6

    #8166C6

    oklch(58% 0.144 294.4)

  • #C1524E

    #C1524E

    oklch(58.1% 0.144 24.6)

  • #798200

    #798200

    oklch(57.9% 0.131 114.5)

  • #008B96

    #008B96

    oklch(58.1% 0.099 204.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8166C6 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.