#766CDD

Closest named color: Medium Slate Blue (#7B68EE). oklch(59.6% 0.167 284.1), rgb(118, 108, 221).

Aa

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

About this color

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

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

Values

HEX#766CDD
RGBrgb(118, 108, 221)
HSLhsl(245, 62%, 65%)
OKLCHoklch(59.6% 0.167 284.1)

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 #766CDD 4.23:1 AA large text Lc -74.5 Content text, not long reading
Black text on #766CDD 4.95:1 AA Lc 35.1 Non-text elements, placeholder text
#766CDD text on white 4.23:1 AA large text Lc 69.0 Content text, not long reading
#766CDD text on black 4.95:1 AA Lc -32.7 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

    #E7E8FA

    oklch(93.6% 0.024 283.4)

  3. Step 200

    200

    #D5D6F7

    oklch(88.6% 0.045 284.1)

  4. Step 300

    300

    #BABAF4

    oklch(80.9% 0.081 284.4)

  5. Step 400

    400

    #9794EF

    oklch(70.7% 0.131 284)

  6. Step 500

    500 (this color)

    #766CDD

    oklch(59.6% 0.167 284.1)

  7. Step 600

    600

    #6B5DD7

    oklch(55.7% 0.18 284.1)

  8. Step 700

    700

    #5A4BBB

    oklch(49.1% 0.169 284.4)

  9. Step 800

    800

    #493F97

    oklch(42.8% 0.139 284)

  10. Step 900

    900

    #3C3678

    oklch(37.6% 0.109 284)

  11. Step 950

    950

    #232046

    oklch(26.9% 0.069 284.3)

Export this scale for Tailwind in the Tailwind colors tool

#766CDD 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)#367EE10.077
Deuteranopia (no green cones)#3177DB0.078
Tritanopia (no blue cones)#53849A0.142
Achromatopsia (no color)#7B7B7B0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #766CDD

    #766CDD

    oklch(59.6% 0.167 284.1)

  • #8C8200

    #8C8200

    oklch(59.7% 0.126 104.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #766CDD

    #766CDD

    oklch(59.6% 0.167 284.1)

  • #287FDF

    #287FDF

    oklch(59.6% 0.167 254.3)

  • #A25BC3

    #A25BC3

    oklch(59.6% 0.167 314)

Open the analogous palette in the generator

Split complementary

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

  • #766CDD

    #766CDD

    oklch(59.6% 0.167 284.1)

  • #AB7200

    #AB7200

    oklch(59.7% 0.126 74.4)

  • #51930E

    #51930E

    oklch(59.6% 0.167 134.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #766CDD

    #766CDD

    oklch(59.6% 0.167 284.1)

  • #CC5510

    #CC5510

    oklch(59.5% 0.167 44)

  • #00966A

    #00966A

    oklch(59.6% 0.127 163.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #766CDD

    #766CDD

    oklch(59.6% 0.167 284.1)

  • #CE4B60

    #CE4B60

    oklch(59.6% 0.166 14.2)

  • #8C8200

    #8C8200

    oklch(59.7% 0.126 104.2)

  • #009291

    #009291

    oklch(59.7% 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 #766CDD, closest first.

Similar named colors

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

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