#766CD9

Closest named color: Medium Slate Blue (#7B68EE). oklch(59.3% 0.161 284.5), rgb(118, 108, 217).

Aa

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

About this color

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

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

Values

HEX#766CD9
RGBrgb(118, 108, 217)
HSLhsl(246, 59%, 64%)
OKLCHoklch(59.3% 0.161 284.5)

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 #766CD9 4.27:1 AA large text Lc -74.8 Content text, not long reading
Black text on #766CD9 4.91:1 AA Lc 34.8 Non-text elements, placeholder text
#766CD9 text on white 4.27:1 AA large text Lc 69.3 Content text, not long reading
#766CD9 text on black 4.91:1 AA Lc -32.4 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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E8E8F8

    oklch(93.6% 0.022 286)

  3. Step 200

    200

    #D5D6F4

    oklch(88.5% 0.041 284)

  4. Step 300

    300

    #BBBBEE

    oklch(80.9% 0.072 284.7)

  5. Step 400

    400

    #9996E6

    oklch(70.7% 0.116 284.7)

  6. Step 500

    500

    #817ADF

    oklch(63.2% 0.148 284.4)

  7. Step 600

    600 (this color)

    #766CD9

    oklch(59.3% 0.161 284.5)

  8. Step 700

    700

    #5A4FB1

    oklch(49.1% 0.15 284.5)

  9. Step 800

    800

    #49418F

    oklch(42.6% 0.125 284.4)

  10. Step 900

    900

    #3D3872

    oklch(37.7% 0.096 284.7)

  11. Step 950

    950

    #242143

    oklch(27% 0.062 285.5)

Export this scale for Tailwind in the Tailwind colors tool

#766CD9 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)#3B7EDD0.075
Deuteranopia (no green cones)#3677D70.075
Tritanopia (no blue cones)#5583980.137
Achromatopsia (no color)#7A7A7A0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #766CD9

    #766CD9

    oklch(59.3% 0.161 284.5)

  • #8B8100

    #8B8100

    oklch(59.3% 0.125 104.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #766CD9

    #766CD9

    oklch(59.3% 0.161 284.5)

  • #2D7EDB

    #2D7EDB

    oklch(59.3% 0.162 254.6)

  • #A15CC0

    #A15CC0

    oklch(59.4% 0.161 314.4)

Open the analogous palette in the generator

Split complementary

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

  • #766CD9

    #766CD9

    oklch(59.3% 0.161 284.5)

  • #A97100

    #A97100

    oklch(59.3% 0.125 74.7)

  • #519219

    #519219

    oklch(59.4% 0.162 134.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #766CD9

    #766CD9

    oklch(59.3% 0.161 284.5)

  • #C95717

    #C95717

    oklch(59.4% 0.161 44.5)

  • #00956B

    #00956B

    oklch(59.3% 0.125 164.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #766CD9

    #766CD9

    oklch(59.3% 0.161 284.5)

  • #CB4C60

    #CB4C60

    oklch(59.2% 0.161 14.1)

  • #8B8100

    #8B8100

    oklch(59.3% 0.125 104.1)

  • #009190

    #009190

    oklch(59.4% 0.102 193.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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