#7C64E2

Closest named color: Medium Slate Blue (#7B68EE). oklch(59% 0.184 288.2), rgb(124, 100, 226).

Aa

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

About this color

#7C64E2 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.184 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.020 away. Black text reads best on it, at 4.77:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.184)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text4.77:1
White text4.39:1

Values

HEX#7C64E2
RGBrgb(124, 100, 226)
HSLhsl(251, 68%, 64%)
OKLCHoklch(59% 0.184 288.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 #7C64E2 4.39:1 AA large text Lc -75.6 Fine for body text
Black text on #7C64E2 4.77:1 AA Lc 33.9 Non-text elements, placeholder text
#7C64E2 text on white 4.39:1 AA large text Lc 70.2 Content text, not long reading
#7C64E2 text on black 4.77: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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D7D5F7

    oklch(88.5% 0.047 288.1)

  4. Step 300

    300

    #BEB9F4

    oklch(81% 0.083 288.3)

  5. Step 400

    400

    #9D92EE

    oklch(70.7% 0.132 288)

  6. Step 500

    500

    #8774E8

    oklch(63.1% 0.169 288.1)

  7. Step 600

    600 (this color)

    #7C64E2

    oklch(59% 0.184 288.2)

  8. Step 700

    700

    #6048BA

    oklch(49.1% 0.172 288.1)

  9. Step 800

    800

    #4E3C96

    oklch(42.6% 0.141 288.1)

  10. Step 900

    900

    #413478

    oklch(37.7% 0.112 288.7)

  11. Step 950

    950

    #261F46

    oklch(27% 0.07 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#7C64E2 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)#187BE60.104
Deuteranopia (no green cones)#1A75DF0.103
Tritanopia (no blue cones)#5C80990.153
Achromatopsia (no color)#7878780.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C64E2

    #7C64E2

    oklch(59% 0.184 288.2)

  • #858200

    #858200

    oklch(59% 0.127 108.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C64E2

    #7C64E2

    oklch(59% 0.184 288.2)

  • #2C79E8

    #2C79E8

    oklch(59% 0.184 258.3)

  • #A951C2

    #A951C2

    oklch(59% 0.184 318.2)

Open the analogous palette in the generator

Split complementary

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

  • #7C64E2

    #7C64E2

    oklch(59% 0.184 288.2)

  • #A57300

    #A57300

    oklch(59.2% 0.123 78.4)

  • #3A9500

    #3A9500

    oklch(59.1% 0.184 138.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C64E2

    #7C64E2

    oklch(59% 0.184 288.2)

  • #C65800

    #C65800

    oklch(59% 0.161 48)

  • #009370

    #009370

    oklch(58.9% 0.119 168.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C64E2

    #7C64E2

    oklch(59% 0.184 288.2)

  • #D44052

    #D44052

    oklch(59% 0.184 18.1)

  • #858200

    #858200

    oklch(59% 0.127 108.1)

  • #008F93

    #008F93

    oklch(59% 0.1 198.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7C64E2.

Similar named colors

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

Use #7C64E2 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.