#8D66D1

Closest named color: Medium Purple (#9370DB). oklch(59.8% 0.16 298.3), rgb(141, 102, 209).

Aa

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

About this color

#8D66D1 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.160 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.029 away. Black text reads best on it, at 4.95:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.160)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text4.95:1
White text4.23:1

Values

HEX#8D66D1
RGBrgb(141, 102, 209)
HSLhsl(262, 54%, 61%)
OKLCHoklch(59.8% 0.16 298.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 #8D66D1 4.23:1 AA large text Lc -74.5 Content text, not long reading
Black text on #8D66D1 4.95:1 AA Lc 35.0 Non-text elements, placeholder text
#8D66D1 text on white 4.23:1 AA large text Lc 69.0 Content text, not long reading
#8D66D1 text on black 4.95:1 AA Lc -32.6 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F7

    oklch(93.6% 0.022 297.4)

  3. Step 200

    200

    #DCD4F3

    oklch(88.6% 0.043 297.3)

  4. Step 300

    300

    #C6B6ED

    oklch(80.8% 0.078 298)

  5. Step 400

    400

    #AB8EE4

    oklch(70.7% 0.126 298.7)

  6. Step 500

    500 (this color)

    #8D66D1

    oklch(59.8% 0.16 298.3)

  7. Step 600

    600

    #8255C9

    oklch(55.5% 0.174 298.5)

  8. Step 700

    700

    #6E45AE

    oklch(49.1% 0.161 298.2)

  9. Step 800

    800

    #5A398D

    oklch(42.7% 0.134 298.7)

  10. Step 900

    900

    #493271

    oklch(37.6% 0.105 298)

  11. Step 950

    950

    #2B1E42

    oklch(27% 0.066 298.6)

Export this scale for Tailwind in the Tailwind colors tool

#8D66D1 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)#3F7BD50.107
Deuteranopia (no green cones)#497ACE0.100
Tritanopia (no blue cones)#7E7B920.125
Achromatopsia (no color)#7B7B7B0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D66D1

    #8D66D1

    oklch(59.8% 0.16 298.3)

  • #798A00

    #798A00

    oklch(59.9% 0.139 118.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D66D1

    #8D66D1

    oklch(59.8% 0.16 298.3)

  • #5878DE

    #5878DE

    oklch(59.9% 0.159 268.2)

  • #B158AF

    #B158AF

    oklch(59.9% 0.159 328.2)

Open the analogous palette in the generator

Split complementary

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

  • #8D66D1

    #8D66D1

    oklch(59.8% 0.16 298.3)

  • #9E7A00

    #9E7A00

    oklch(59.8% 0.122 87.9)

  • #209844

    #209844

    oklch(59.7% 0.159 148.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D66D1

    #8D66D1

    oklch(59.8% 0.16 298.3)

  • #BD6600

    #BD6600

    oklch(59.9% 0.143 58.2)

  • #009580

    #009580

    oklch(59.9% 0.11 178)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D66D1

    #8D66D1

    oklch(59.8% 0.16 298.3)

  • #CE5246

    #CE5246

    oklch(59.9% 0.16 28.3)

  • #798A00

    #798A00

    oklch(59.9% 0.139 118.1)

  • #0090A0

    #0090A0

    oklch(59.8% 0.103 208.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8D66D1 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.