#8C5EDC

Closest named color: Purpley (#8756E4). oklch(59.2% 0.185 297.2), rgb(140, 94, 220).

Aa

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

About this color

#8C5EDC is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.185 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.024 away. Black text reads best on it, at 4.74:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.185)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.74:1
White text4.42:1

Values

HEX#8C5EDC
RGBrgb(140, 94, 220)
HSLhsl(262, 64%, 62%)
OKLCHoklch(59.2% 0.185 297.2)

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 #8C5EDC 4.42:1 AA large text Lc -75.8 Fine for body text
Black text on #8C5EDC 4.74:1 AA Lc 33.8 Non-text elements, placeholder text
#8C5EDC text on white 4.42:1 AA large text Lc 70.3 Content text, not long reading
#8C5EDC text on black 4.74:1 AA Lc -31.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 600.

  1. Step 50

    50

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F8

    oklch(93.6% 0.023 296.7)

  3. Step 200

    200

    #DCD3F5

    oklch(88.5% 0.047 297.5)

  4. Step 300

    300

    #C6B6F0

    oklch(80.9% 0.082 297.2)

  5. Step 400

    400

    #AA8DE9

    oklch(70.6% 0.134 297.4)

  6. Step 500

    500

    #966EE2

    oklch(63.1% 0.17 297.2)

  7. Step 600

    600 (this color)

    #8C5EDC

    oklch(59.2% 0.185 297.2)

  8. Step 700

    700

    #6E42B4

    oklch(49.1% 0.173 297.4)

  9. Step 800

    800

    #593892

    oklch(42.8% 0.142 296.8)

  10. Step 900

    900

    #493174

    oklch(37.7% 0.111 297.3)

  11. Step 950

    950

    #2B1D44

    oklch(27% 0.071 298)

Export this scale for Tailwind in the Tailwind colors tool

#8C5EDC 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)#1B78E00.131
Deuteranopia (no green cones)#3076D90.121
Tritanopia (no blue cones)#7978940.144
Achromatopsia (no color)#7878780.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C5EDC

    #8C5EDC

    oklch(59.2% 0.185 297.2)

  • #788700

    #788700

    oklch(59.1% 0.137 117.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C5EDC

    #8C5EDC

    oklch(59.2% 0.185 297.2)

  • #4D73EA

    #4D73EA

    oklch(59.2% 0.185 267.2)

  • #B44CB5

    #B44CB5

    oklch(59% 0.185 327.2)

Open the analogous palette in the generator

Split complementary

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

  • #8C5EDC

    #8C5EDC

    oklch(59.2% 0.185 297.2)

  • #9C7800

    #9C7800

    oklch(59.1% 0.121 87.5)

  • #009837

    #009837

    oklch(59.2% 0.175 147.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C5EDC

    #8C5EDC

    oklch(59.2% 0.185 297.2)

  • #BB6300

    #BB6300

    oklch(59.1% 0.143 57)

  • #00927D

    #00927D

    oklch(59% 0.109 177.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C5EDC

    #8C5EDC

    oklch(59.2% 0.185 297.2)

  • #D6423B

    #D6423B

    oklch(59.2% 0.186 27.1)

  • #788700

    #788700

    oklch(59.1% 0.137 117.3)

  • #008E9C

    #008E9C

    oklch(59.1% 0.101 207)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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