#8166E0

Closest named color: Medium Slate Blue (#7B68EE). oklch(59.7% 0.178 290.1), rgb(129, 102, 224).

Aa

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

About this color

#8166E0 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.178 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.023 away. Black text reads best on it, at 4.91:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.178)
Temperaturein between
Nearest nameMedium Slate Blue (#7B68EE)
Black text4.91:1
White text4.27:1

Values

HEX#8166E0
RGBrgb(129, 102, 224)
HSLhsl(253, 66%, 64%)
OKLCHoklch(59.7% 0.178 290.1)

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 #8166E0 4.27:1 AA large text Lc -74.8 Content text, not long reading
Black text on #8166E0 4.91:1 AA Lc 34.8 Non-text elements, placeholder text
#8166E0 text on white 4.27:1 AA large text Lc 69.3 Content text, not long reading
#8166E0 text on black 4.91:1 AA Lc -32.4 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FA

    oklch(93.5% 0.026 290.7)

  3. Step 200

    200

    #D8D4F8

    oklch(88.4% 0.049 290.4)

  4. Step 300

    300

    #BFB7F6

    oklch(80.8% 0.088 290.1)

  5. Step 400

    400

    #A090F1

    oklch(70.7% 0.139 289.9)

  6. Step 500

    500 (this color)

    #8166E0

    oklch(59.7% 0.178 290.1)

  7. Step 600

    600

    #7655DA

    oklch(55.5% 0.194 290)

  8. Step 700

    700

    #6444BD

    oklch(49% 0.181 290.3)

  9. Step 800

    800

    #513999

    oklch(42.6% 0.15 290.1)

  10. Step 900

    900

    #43337A

    oklch(37.8% 0.116 290.1)

  11. Step 950

    950

    #271E47

    oklch(26.9% 0.074 290.7)

Export this scale for Tailwind in the Tailwind colors tool

#8166E0 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)#277DE40.105
Deuteranopia (no green cones)#2C78DD0.101
Tritanopia (no blue cones)#6680990.146
Achromatopsia (no color)#7A7A7A0.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #8166E0

    #8166E0

    oklch(59.7% 0.178 290.1)

  • #848500

    #848500

    oklch(59.6% 0.13 110.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8166E0

    #8166E0

    oklch(59.7% 0.178 290.1)

  • #397AE7

    #397AE7

    oklch(59.6% 0.178 260.1)

  • #AC54C0

    #AC54C0

    oklch(59.6% 0.179 319.9)

Open the analogous palette in the generator

Split complementary

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

  • #8166E0

    #8166E0

    oklch(59.7% 0.178 290.1)

  • #A57500

    #A57500

    oklch(59.6% 0.123 79.9)

  • #37971D

    #37971D

    oklch(59.7% 0.178 140.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8166E0

    #8166E0

    oklch(59.7% 0.178 290.1)

  • #C65C00

    #C65C00

    oklch(59.6% 0.158 50)

  • #009575

    #009575

    oklch(59.6% 0.117 170.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8166E0

    #8166E0

    oklch(59.7% 0.178 290.1)

  • #D44651

    #D44651

    oklch(59.6% 0.178 20)

  • #848500

    #848500

    oklch(59.6% 0.13 110.3)

  • #009197

    #009197

    oklch(59.7% 0.101 200)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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