#7D66DA

Closest named color: Medium Slate Blue (#7B68EE). oklch(58.9% 0.171 289.2), rgb(125, 102, 218).

Aa

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

About this color

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

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

Values

HEX#7D66DA
RGBrgb(125, 102, 218)
HSLhsl(252, 61%, 63%)
OKLCHoklch(58.9% 0.171 289.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 #7D66DA 4.38:1 AA large text Lc -75.6 Fine for body text
Black text on #7D66DA 4.78:1 AA Lc 33.9 Non-text elements, placeholder text
#7D66DA text on white 4.38:1 AA large text Lc 70.2 Content text, not long reading
#7D66DA text on black 4.78: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

    #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

    #BFB9F0

    oklch(80.9% 0.077 289.6)

  5. Step 400

    400

    #9F93E8

    oklch(70.7% 0.123 289.3)

  6. Step 500

    500

    #8976E1

    oklch(63.2% 0.156 289.3)

  7. Step 600

    600 (this color)

    #7D66DA

    oklch(58.9% 0.171 289.2)

  8. Step 700

    700

    #614BB3

    oklch(49.1% 0.158 289)

  9. Step 800

    800

    #4F3E91

    oklch(42.7% 0.131 289)

  10. Step 900

    900

    #413674

    oklch(37.8% 0.102 288.7)

  11. Step 950

    950

    #262044

    oklch(27% 0.065 288.9)

Export this scale for Tailwind in the Tailwind colors tool

#7D66DA 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)#2E7BDE0.096
Deuteranopia (no green cones)#3076D70.093
Tritanopia (no blue cones)#627F960.142
Achromatopsia (no color)#7878780.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D66DA

    #7D66DA

    oklch(58.9% 0.171 289.2)

  • #838200

    #838200

    oklch(58.8% 0.128 109.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D66DA

    #7D66DA

    oklch(58.9% 0.171 289.2)

  • #3879E0

    #3879E0

    oklch(58.8% 0.171 259.4)

  • #A755BC

    #A755BC

    oklch(58.9% 0.171 319.1)

Open the analogous palette in the generator

Split complementary

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

  • #7D66DA

    #7D66DA

    oklch(58.9% 0.171 289.2)

  • #A37300

    #A37300

    oklch(58.9% 0.122 79.5)

  • #3D941F

    #3D941F

    oklch(59.1% 0.171 139.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D66DA

    #7D66DA

    oklch(58.9% 0.171 289.2)

  • #C45A00

    #C45A00

    oklch(59% 0.157 49.5)

  • #009371

    #009371

    oklch(59% 0.118 169.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D66DA

    #7D66DA

    oklch(58.9% 0.171 289.2)

  • #CF4753

    #CF4753

    oklch(59% 0.171 19.1)

  • #838200

    #838200

    oklch(58.8% 0.128 109.2)

  • #008F94

    #008F94

    oklch(59% 0.1 199.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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