#7D66E4

Closest named color: Medium Slate Blue (#7B68EE). oklch(59.6% 0.184 287.9), rgb(125, 102, 228).

Aa

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

About this color

#7D66E4 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, 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.016 away. Black text reads best on it, at 4.89:1.

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

Values

HEX#7D66E4
RGBrgb(125, 102, 228)
HSLhsl(251, 70%, 65%)
OKLCHoklch(59.6% 0.184 287.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 #7D66E4 4.29:1 AA large text Lc -74.9 Content text, not long reading
Black text on #7D66E4 4.89:1 AA Lc 34.7 Non-text elements, placeholder text
#7D66E4 text on white 4.29:1 AA large text Lc 69.4 Content text, not long reading
#7D66E4 text on black 4.89:1 AA Lc -32.3 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D7D5F9

    oklch(88.6% 0.049 287.9)

  4. Step 300

    300

    #BDB8F8

    oklch(80.9% 0.09 287.8)

  5. Step 400

    400

    #9D90F4

    oklch(70.6% 0.144 288.1)

  6. Step 500

    500 (this color)

    #7D66E4

    oklch(59.6% 0.184 287.9)

  7. Step 600

    600

    #7355DF

    oklch(55.6% 0.2 288.1)

  8. Step 700

    700

    #6044C1

    oklch(49% 0.186 287.8)

  9. Step 800

    800

    #4E399C

    oklch(42.6% 0.154 287.8)

  10. Step 900

    900

    #41337C

    oklch(37.8% 0.119 288.2)

  11. Step 950

    950

    #251E49

    oklch(26.9% 0.077 287.5)

Export this scale for Tailwind in the Tailwind colors tool

#7D66E4 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)#1D7DE80.103
Deuteranopia (no green cones)#1E77E10.101
Tritanopia (no blue cones)#5D829B0.153
Achromatopsia (no color)#7A7A7A0.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D66E4

    #7D66E4

    oklch(59.6% 0.184 287.9)

  • #878400

    #878400

    oklch(59.6% 0.129 108.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D66E4

    #7D66E4

    oklch(59.6% 0.184 287.9)

  • #2C7BEA

    #2C7BEA

    oklch(59.6% 0.184 258)

  • #AB53C4

    #AB53C4

    oklch(59.6% 0.184 318.2)

Open the analogous palette in the generator

Split complementary

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

  • #7D66E4

    #7D66E4

    oklch(59.6% 0.184 287.9)

  • #A77400

    #A77400

    oklch(59.6% 0.124 78.1)

  • #3D9601

    #3D9601

    oklch(59.5% 0.183 137.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D66E4

    #7D66E4

    oklch(59.6% 0.184 287.9)

  • #C95900

    #C95900

    oklch(59.6% 0.163 47.8)

  • #009571

    #009571

    oklch(59.5% 0.12 168.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D66E4

    #7D66E4

    oklch(59.6% 0.184 287.9)

  • #D64254

    #D64254

    oklch(59.6% 0.184 17.9)

  • #878400

    #878400

    oklch(59.6% 0.129 108.1)

  • #009195

    #009195

    oklch(59.6% 0.101 198.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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