#7F64D8

Closest named color: Medium Slate Blue (#7B68EE). oklch(58.6% 0.171 290.9), rgb(127, 100, 216).

Aa

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

About this color

#7F64D8 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.171 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.034 away. Black text reads best on it, at 4.71:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.171)
Temperaturein between
Nearest nameMedium Slate Blue (#7B68EE)
Black text4.71:1
White text4.45:1

Values

HEX#7F64D8
RGBrgb(127, 100, 216)
HSLhsl(254, 60%, 62%)
OKLCHoklch(58.6% 0.171 290.9)

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 #7F64D8 4.45:1 AA large text Lc -76.1 Fine for body text
Black text on #7F64D8 4.71:1 AA Lc 33.5 Non-text elements, placeholder text
#7F64D8 text on white 4.45:1 AA large text Lc 70.6 Content text, not long reading
#7F64D8 text on black 4.71:1 AA Lc -31.0 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D8D5F4

    oklch(88.5% 0.042 289.9)

  4. Step 300

    300

    #C0B8EF

    oklch(80.8% 0.077 291.2)

  5. Step 400

    400

    #A192E7

    oklch(70.7% 0.123 291)

  6. Step 500

    500

    #8B75E0

    oklch(63.1% 0.157 290.7)

  7. Step 600

    600 (this color)

    #7F64D8

    oklch(58.6% 0.171 290.9)

  8. Step 700

    700

    #644AB2

    oklch(49.2% 0.158 290.9)

  9. Step 800

    800

    #513D90

    oklch(42.6% 0.132 290.9)

  10. Step 900

    900

    #433573

    oklch(37.7% 0.103 291.1)

  11. Step 950

    950

    #272043

    oklch(27.1% 0.064 290.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F64D8 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)#2D79DC0.100
Deuteranopia (no green cones)#3175D50.097
Tritanopia (no blue cones)#667D940.141
Achromatopsia (no color)#7777770.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F64D8

    #7F64D8

    oklch(58.6% 0.171 290.9)

  • #808200

    #808200

    oklch(58.5% 0.129 110.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F64D8

    #7F64D8

    oklch(58.6% 0.171 290.9)

  • #3D77E0

    #3D77E0

    oklch(58.6% 0.171 261.1)

  • #A853B9

    #A853B9

    oklch(58.6% 0.172 320.7)

Open the analogous palette in the generator

Split complementary

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

  • #7F64D8

    #7F64D8

    oklch(58.6% 0.171 290.9)

  • #A17300

    #A17300

    oklch(58.7% 0.121 80.7)

  • #359324

    #359324

    oklch(58.5% 0.17 140.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F64D8

    #7F64D8

    oklch(58.6% 0.171 290.9)

  • #C15B00

    #C15B00

    oklch(58.7% 0.154 50.7)

  • #009273

    #009273

    oklch(58.7% 0.115 170.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F64D8

    #7F64D8

    oklch(58.6% 0.171 290.9)

  • #CE464E

    #CE464E

    oklch(58.6% 0.171 20.9)

  • #808200

    #808200

    oklch(58.5% 0.129 110.9)

  • #008D94

    #008D94

    oklch(58.5% 0.1 201)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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