#766DD2

Closest named color: Dark Periwinkle (#665FD1). oklch(59.1% 0.15 284.9), rgb(118, 109, 210).

Aa

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

About this color

#766DD2 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.150 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.044 away. Black text reads best on it, at 4.88:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.150)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.88:1
White text4.29:1

Values

HEX#766DD2
RGBrgb(118, 109, 210)
HSLhsl(245, 53%, 63%)
OKLCHoklch(59.1% 0.15 284.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 #766DD2 4.29:1 AA large text Lc -75.0 Fine for body text
Black text on #766DD2 4.88:1 AA Lc 34.5 Non-text elements, placeholder text
#766DD2 text on white 4.29:1 AA large text Lc 69.5 Content text, not long reading
#766DD2 text on black 4.88:1 AA Lc -32.1 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D6D6F2

    oklch(88.5% 0.038 285.6)

  4. Step 300

    300

    #BBBBEB

    oklch(80.8% 0.067 284.8)

  5. Step 400

    400

    #9997E1

    oklch(70.7% 0.107 284.5)

  6. Step 500

    500

    #827BD9

    oklch(63.1% 0.139 285.1)

  7. Step 600

    600 (this color)

    #766DD2

    oklch(59.1% 0.15 284.9)

  8. Step 700

    700

    #5B51AB

    oklch(49.1% 0.139 285.1)

  9. Step 800

    800

    #4A438B

    oklch(42.8% 0.116 284.8)

  10. Step 900

    900

    #3D396F

    oklch(37.7% 0.09 284.6)

  11. Step 950

    950

    #242241

    oklch(27.1% 0.057 284.9)

Export this scale for Tailwind in the Tailwind colors tool

#766DD2 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)#437DD60.068
Deuteranopia (no green cones)#4077D00.067
Tritanopia (no blue cones)#5982950.129
Achromatopsia (no color)#7A7A7A0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #766DD2

    #766DD2

    oklch(59.1% 0.15 284.9)

  • #898100

    #898100

    oklch(59.1% 0.126 105.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #766DD2

    #766DD2

    oklch(59.1% 0.15 284.9)

  • #367ED4

    #367ED4

    oklch(59.1% 0.15 254.8)

  • #9E5EBA

    #9E5EBA

    oklch(59% 0.15 314.7)

Open the analogous palette in the generator

Split complementary

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

  • #766DD2

    #766DD2

    oklch(59.1% 0.15 284.9)

  • #A87100

    #A87100

    oklch(59.1% 0.125 75.2)

  • #539027

    #539027

    oklch(59% 0.15 135)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #766DD2

    #766DD2

    oklch(59.1% 0.15 284.9)

  • #C35A23

    #C35A23

    oklch(59% 0.15 44.8)

  • #00946A

    #00946A

    oklch(59% 0.125 164.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #766DD2

    #766DD2

    oklch(59.1% 0.15 284.9)

  • #C65160

    #C65160

    oklch(59.1% 0.15 15.1)

  • #898100

    #898100

    oklch(59.1% 0.126 105.3)

  • #009090

    #009090

    oklch(59.2% 0.101 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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