#8C5CE3

Closest named color: Purpley (#8756E4). oklch(59.3% 0.196 296.3), rgb(140, 92, 227).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.196)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.75:1
White text4.41:1

Values

HEX#8C5CE3
RGBrgb(140, 92, 227)
HSLhsl(261, 71%, 63%)
OKLCHoklch(59.3% 0.196 296.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 #8C5CE3 4.41:1 AA large text Lc -75.7 Fine for body text
Black text on #8C5CE3 4.75:1 AA Lc 33.9 Non-text elements, placeholder text
#8C5CE3 text on white 4.41:1 AA large text Lc 70.2 Content text, not long reading
#8C5CE3 text on black 4.75:1 AA Lc -31.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7FA

    oklch(93.7% 0.026 295.5)

  3. Step 200

    200

    #DCD3F7

    oklch(88.5% 0.05 296.8)

  4. Step 300

    300

    #C5B5F4

    oklch(80.8% 0.089 296)

  5. Step 400

    400

    #A98CEE

    oklch(70.6% 0.142 296.2)

  6. Step 500

    500

    #966CE8

    oklch(63.1% 0.181 296.5)

  7. Step 600

    600 (this color)

    #8C5CE3

    oklch(59.3% 0.196 296.3)

  8. Step 700

    700

    #6E40BA

    oklch(49.2% 0.183 296.4)

  9. Step 800

    800

    #593696

    oklch(42.8% 0.15 296.2)

  10. Step 900

    900

    #493078

    oklch(37.8% 0.118 296.3)

  11. Step 950

    950

    #2A1D46

    oklch(27% 0.074 295.6)

Export this scale for Tailwind in the Tailwind colors tool

#8C5CE3 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)#0079E70.138
Deuteranopia (no green cones)#1E76E00.131
Tritanopia (no blue cones)#7779970.153
Achromatopsia (no color)#7878780.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C5CE3

    #8C5CE3

    oklch(59.3% 0.196 296.3)

  • #7A8700

    #7A8700

    oklch(59.2% 0.136 116.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C5CE3

    #8C5CE3

    oklch(59.3% 0.196 296.3)

  • #4772F1

    #4772F1

    oklch(59.2% 0.197 266.3)

  • #B749BB

    #B749BB

    oklch(59.4% 0.196 326.3)

Open the analogous palette in the generator

Split complementary

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

  • #8C5CE3

    #8C5CE3

    oklch(59.3% 0.196 296.3)

  • #9E7800

    #9E7800

    oklch(59.4% 0.121 86.3)

  • #009932

    #009932

    oklch(59.4% 0.18 146.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C5CE3

    #8C5CE3

    oklch(59.3% 0.196 296.3)

  • #BD6300

    #BD6300

    oklch(59.4% 0.145 56.3)

  • #00937C

    #00937C

    oklch(59.3% 0.11 176.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C5CE3

    #8C5CE3

    oklch(59.3% 0.196 296.3)

  • #DB3C39

    #DB3C39

    oklch(59.4% 0.196 26.4)

  • #7A8700

    #7A8700

    oklch(59.2% 0.136 116.3)

  • #008F9C

    #008F9C

    oklch(59.4% 0.102 206.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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