#7F64F7

Closest named color: Medium Slate Blue (#7B68EE). oklch(60.8% 0.21 286.8), rgb(127, 100, 247).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.210)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text5.06:1
White text4.14:1

Values

HEX#7F64F7
RGBrgb(127, 100, 247)
HSLhsl(251, 90%, 68%)
OKLCHoklch(60.8% 0.21 286.8)

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 #7F64F7 4.14:1 AA large text Lc -73.6 Content text, not long reading
Black text on #7F64F7 5.06:1 AA Lc 36.0 Non-text elements, placeholder text
#7F64F7 text on white 4.14:1 AA large text Lc 68.1 Content text, not long reading
#7F64F7 text on black 5.06:1 AA Lc -33.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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E8E7FD

    oklch(93.5% 0.03 287.9)

  3. Step 200

    200

    #D6D4FE

    oklch(88.5% 0.058 287.3)

  4. Step 300

    300

    #BCB7FF

    oklch(80.9% 0.101 287.1)

  5. Step 400

    400

    #9B8EFF

    oklch(70.7% 0.161 286.8)

  6. Step 500

    500 (this color)

    #7F64F7

    oklch(60.8% 0.21 286.8)

  7. Step 600

    600

    #724DEE

    oklch(55.6% 0.228 287)

  8. Step 700

    700

    #603CD0

    oklch(49.1% 0.213 286.8)

  9. Step 800

    800

    #4E33A8

    oklch(42.7% 0.177 286.9)

  10. Step 900

    900

    #402F85

    oklch(37.7% 0.137 286.9)

  11. Step 950

    950

    #251D4E

    oklch(27.1% 0.087 286.6)

Export this scale for Tailwind in the Tailwind colors tool

#7F64F7 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)#0080FC0.112
Deuteranopia (no green cones)#0078F40.110
Tritanopia (no blue cones)#5586A40.174
Achromatopsia (no color)#7D7D7D0.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F64F7

    #7F64F7

    oklch(60.8% 0.21 286.8)

  • #8C8700

    #8C8700

    oklch(60.8% 0.13 107.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F64F7

    #7F64F7

    oklch(60.8% 0.21 286.8)

  • #0A7DFC

    #0A7DFC

    oklch(60.7% 0.21 256.8)

  • #B34ED4

    #B34ED4

    oklch(60.9% 0.21 316.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F64F7

    #7F64F7

    oklch(60.8% 0.21 286.8)

  • #AD7600

    #AD7600

    oklch(60.7% 0.127 76.3)

  • #459A00

    #459A00

    oklch(60.9% 0.184 136.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F64F7

    #7F64F7

    oklch(60.8% 0.21 286.8)

  • #D05A00

    #D05A00

    oklch(60.8% 0.169 46.8)

  • #009A72

    #009A72

    oklch(60.9% 0.125 166.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F64F7

    #7F64F7

    oklch(60.8% 0.21 286.8)

  • #E43454

    #E43454

    oklch(60.7% 0.21 16.6)

  • #8C8700

    #8C8700

    oklch(60.8% 0.13 107.1)

  • #009598

    #009598

    oklch(60.8% 0.103 197.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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