#8C64EA

Closest named color: Medium Slate Blue (#7B68EE). oklch(61% 0.194 293.6), rgb(140, 100, 234).

Aa

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

About this color

#8C64EA is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.194 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.028 away. Black text reads best on it, at 5.12:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.194)
Temperaturein between
Nearest nameMedium Slate Blue (#7B68EE)
Black text5.12:1
White text4.09:1

Values

HEX#8C64EA
RGBrgb(140, 100, 234)
HSLhsl(258, 76%, 65%)
OKLCHoklch(61% 0.194 293.6)

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 #8C64EA 4.09:1 AA large text Lc -73.3 Content text, not long reading
Black text on #8C64EA 5.12:1 AA Lc 36.3 Non-text elements, placeholder text
#8C64EA text on white 4.09:1 AA large text Lc 67.8 Content text, not long reading
#8C64EA text on black 5.12:1 AA Lc -33.9 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EAE7FB

    oklch(93.6% 0.027 292.8)

  3. Step 200

    200

    #DAD3F9

    oklch(88.4% 0.052 293.7)

  4. Step 300

    300

    #C3B5F9

    oklch(80.9% 0.096 293.6)

  5. Step 400

    400

    #A68CF5

    oklch(70.7% 0.151 293.6)

  6. Step 500

    500 (this color)

    #8C64EA

    oklch(61% 0.194 293.6)

  7. Step 600

    600

    #7E4DE0

    oklch(55.6% 0.212 293.7)

  8. Step 700

    700

    #6B3DC2

    oklch(49.1% 0.196 293.8)

  9. Step 800

    800

    #57349D

    oklch(42.8% 0.162 293.8)

  10. Step 900

    900

    #472F7D

    oklch(37.8% 0.126 293.6)

  11. Step 950

    950

    #291C49

    oklch(26.9% 0.08 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#8C64EA 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)#117FEE0.128
Deuteranopia (no green cones)#257BE70.121
Tritanopia (no blue cones)#73819D0.156
Achromatopsia (no color)#7D7D7D0.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C64EA

    #8C64EA

    oklch(61% 0.194 293.6)

  • #848B00

    #848B00

    oklch(61% 0.136 113.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C64EA

    #8C64EA

    oklch(61% 0.194 293.6)

  • #437AF6

    #437AF6

    oklch(61% 0.195 263.6)

  • #B951C4

    #B951C4

    oklch(61.1% 0.194 323.7)

Open the analogous palette in the generator

Split complementary

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

  • #8C64EA

    #8C64EA

    oklch(61% 0.194 293.6)

  • #A77B00

    #A77B00

    oklch(61% 0.125 83.4)

  • #139F22

    #139F22

    oklch(61.2% 0.194 143.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C64EA

    #8C64EA

    oklch(61% 0.194 293.6)

  • #C76400

    #C76400

    oklch(61% 0.153 53.8)

  • #00997D

    #00997D

    oklch(60.9% 0.116 173.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C64EA

    #8C64EA

    oklch(61% 0.194 293.6)

  • #E04247

    #E04247

    oklch(61% 0.195 23.4)

  • #848B00

    #848B00

    oklch(61% 0.136 113.3)

  • #00959F

    #00959F

    oklch(61% 0.104 203.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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