#766FE7

Closest named color: Medium Slate Blue (#7B68EE). oklch(60.8% 0.176 282.4), rgb(118, 111, 231).

Aa

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

About this color

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

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

Values

HEX#766FE7
RGBrgb(118, 111, 231)
HSLhsl(244, 71%, 67%)
OKLCHoklch(60.8% 0.176 282.4)

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 #766FE7 4.04:1 AA large text Lc -72.9 Content text, not long reading
Black text on #766FE7 5.19:1 AA Lc 36.7 Non-text elements, placeholder text
#766FE7 text on white 4.04:1 AA large text Lc 67.4 Content text, not long reading
#766FE7 text on black 5.19:1 AA Lc -34.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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D4D6F9

    oklch(88.6% 0.048 282.8)

  4. Step 300

    300

    #B8BAF7

    oklch(80.9% 0.086 282.8)

  5. Step 400

    400

    #9494F3

    oklch(70.6% 0.137 282.3)

  6. Step 500

    500 (this color)

    #766FE7

    oklch(60.8% 0.176 282.4)

  7. Step 600

    600

    #685BDD

    oklch(55.5% 0.191 282.7)

  8. Step 700

    700

    #574AC0

    oklch(49.1% 0.178 282.7)

  9. Step 800

    800

    #473E9B

    oklch(42.8% 0.146 282.7)

  10. Step 900

    900

    #3B367C

    oklch(37.8% 0.115 282.6)

  11. Step 950

    950

    #222048

    oklch(26.9% 0.072 282.7)

Export this scale for Tailwind in the Tailwind colors tool

#766FE7 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)#3182EB0.079
Deuteranopia (no green cones)#287AE40.081
Tritanopia (no blue cones)#4C89A00.151
Achromatopsia (no color)#7E7E7E0.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #766FE7

    #766FE7

    oklch(60.8% 0.176 282.4)

  • #928500

    #928500

    oklch(60.9% 0.128 102.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #766FE7

    #766FE7

    oklch(60.8% 0.176 282.4)

  • #1683E7

    #1683E7

    oklch(60.7% 0.176 252.5)

  • #A65DCD

    #A65DCD

    oklch(60.9% 0.176 312.4)

Open the analogous palette in the generator

Split complementary

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

  • #766FE7

    #766FE7

    oklch(60.8% 0.176 282.4)

  • #B17400

    #B17400

    oklch(60.8% 0.13 72.8)

  • #599600

    #599600

    oklch(60.8% 0.169 132.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #766FE7

    #766FE7

    oklch(60.8% 0.176 282.4)

  • #D55410

    #D55410

    oklch(60.8% 0.177 42.2)

  • #009A6A

    #009A6A

    oklch(60.7% 0.132 162.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #766FE7

    #766FE7

    oklch(60.8% 0.176 282.4)

  • #D64A65

    #D64A65

    oklch(60.8% 0.175 12.6)

  • #928500

    #928500

    oklch(60.9% 0.128 102.6)

  • #009693

    #009693

    oklch(60.8% 0.104 192.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #766FE7.

Similar named colors

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

Use #766FE7 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.