#766CB4

Closest named color: Dark Lavender (#856798). oklch(57.1% 0.109 288.8), rgb(118, 108, 180).

Aa

White text reads best on this color (4.59:1).

About this color

#766CB4 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.109 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.048 away. White text reads best on it, at 4.59:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.109)
Temperaturecool
Nearest nameDark Lavender (#856798)
Black text4.57:1
White text4.59:1

Values

HEX#766CB4
RGBrgb(118, 108, 180)
HSLhsl(248, 32%, 56%)
OKLCHoklch(57.1% 0.109 288.8)

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 #766CB4 4.59:1 AA Lc -77.3 Fine for body text
Black text on #766CB4 4.57:1 AA Lc 32.3 Non-text elements, placeholder text
#766CB4 text on white 4.59:1 AA Lc 71.8 Content text, not long reading
#766CB4 text on black 4.57:1 AA Lc -29.9 Dividers and decoration only

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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F3

    oklch(93.5% 0.015 290.3)

  3. Step 200

    200

    #D8D7EB

    oklch(88.6% 0.027 288.1)

  4. Step 300

    300

    #BFBCDF

    oklch(80.9% 0.049 289.2)

  5. Step 400

    400

    #9E99CF

    oklch(70.7% 0.078 288.5)

  6. Step 500

    500

    #877FC3

    oklch(63.1% 0.101 288.5)

  7. Step 600

    600 (this color)

    #766CB4

    oklch(57.1% 0.109 288.8)

  8. Step 700

    700

    #5F5696

    oklch(49.1% 0.101 288.6)

  9. Step 800

    800

    #4E467A

    oklch(42.6% 0.085 289.4)

  10. Step 900

    900

    #403B62

    oklch(37.6% 0.066 288.7)

  11. Step 950

    950

    #26233A

    oklch(27.1% 0.042 289.2)

Export this scale for Tailwind in the Tailwind colors tool

#766CB4 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)#5577B70.050
Deuteranopia (no green cones)#5574B20.048
Tritanopia (no blue cones)#6779870.092
Achromatopsia (no color)#7575750.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #766CB4

    #766CB4

    oklch(57.1% 0.109 288.8)

  • #7D7C23

    #7D7C23

    oklch(57% 0.108 108.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #766CB4

    #766CB4

    oklch(57.1% 0.109 288.8)

  • #4F78B8

    #4F78B8

    oklch(57.2% 0.11 259)

  • #9362A1

    #9362A1

    oklch(57.2% 0.109 318.5)

Open the analogous palette in the generator

Split complementary

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

  • #766CB4

    #766CB4

    oklch(57.1% 0.109 288.8)

  • #9A6F1B

    #9A6F1B

    oklch(57.1% 0.109 79)

  • #558746

    #558746

    oklch(57.2% 0.109 138.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #766CB4

    #766CB4

    oklch(57.1% 0.109 288.8)

  • #AB6239

    #AB6239

    oklch(57.1% 0.11 48.7)

  • #178C6C

    #178C6C

    oklch(57.1% 0.109 168.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #766CB4

    #766CB4

    oklch(57.1% 0.109 288.8)

  • #AF5B5E

    #AF5B5E

    oklch(57.2% 0.109 18.9)

  • #7D7C23

    #7D7C23

    oklch(57% 0.108 108.8)

  • #00898D

    #00898D

    oklch(57.2% 0.097 198.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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