#8166EE

Closest named color: Medium Slate Blue (#7B68EE). oklch(60.6% 0.196 288.3), rgb(129, 102, 238).

Aa

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

About this color

#8166EE is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.196 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.010 away. Black text reads best on it, at 5.06:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.196)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text5.06:1
White text4.14:1

Values

HEX#8166EE
RGBrgb(129, 102, 238)
HSLhsl(252, 80%, 67%)
OKLCHoklch(60.6% 0.196 288.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 #8166EE 4.14:1 AA large text Lc -73.6 Content text, not long reading
Black text on #8166EE 5.06:1 AA Lc 35.9 Non-text elements, placeholder text
#8166EE text on white 4.14:1 AA large text Lc 68.1 Content text, not long reading
#8166EE text on black 5.06:1 AA Lc -33.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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E8E7FC

    oklch(93.5% 0.028 288)

  3. Step 200

    200

    #D7D4FB

    oklch(88.5% 0.053 288.8)

  4. Step 300

    300

    #BDB7FB

    oklch(80.9% 0.095 288.1)

  5. Step 400

    400

    #9D8EFA

    oklch(70.6% 0.155 288.1)

  6. Step 500

    500 (this color)

    #8166EE

    oklch(60.6% 0.196 288.3)

  7. Step 600

    600

    #7451E5

    oklch(55.6% 0.213 288.4)

  8. Step 700

    700

    #6240C7

    oklch(49.1% 0.198 288.5)

  9. Step 800

    800

    #4F36A1

    oklch(42.6% 0.164 288.1)

  10. Step 900

    900

    #413180

    oklch(37.7% 0.128 288)

  11. Step 950

    950

    #261D4B

    oklch(26.9% 0.082 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#8166EE 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)#0080F30.114
Deuteranopia (no green cones)#0079EB0.113
Tritanopia (no blue cones)#5E85A00.163
Achromatopsia (no color)#7D7D7D0.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #8166EE

    #8166EE

    oklch(60.6% 0.196 288.3)

  • #8A8700

    #8A8700

    oklch(60.6% 0.131 108.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8166EE

    #8166EE

    oklch(60.6% 0.196 288.3)

  • #287DF4

    #287DF4

    oklch(60.6% 0.196 258.2)

  • #B152CC

    #B152CC

    oklch(60.7% 0.196 318.2)

Open the analogous palette in the generator

Split complementary

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

  • #8166EE

    #8166EE

    oklch(60.6% 0.196 288.3)

  • #AB7700

    #AB7700

    oklch(60.7% 0.126 78.2)

  • #3C9A00

    #3C9A00

    oklch(60.5% 0.188 138.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8166EE

    #8166EE

    oklch(60.6% 0.196 288.3)

  • #CD5C00

    #CD5C00

    oklch(60.6% 0.164 48.3)

  • #009974

    #009974

    oklch(60.7% 0.123 168.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8166EE

    #8166EE

    oklch(60.6% 0.196 288.3)

  • #DF3E53

    #DF3E53

    oklch(60.7% 0.196 18.3)

  • #8A8700

    #8A8700

    oklch(60.6% 0.131 108.2)

  • #009499

    #009499

    oklch(60.5% 0.103 199)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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