#7966C2

Closest named color: Deep Lavender (#8D5EB7). oklch(57.1% 0.138 290.9), rgb(121, 102, 194).

Aa

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

About this color

#7966C2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.138 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.039 away. White text reads best on it, at 4.67:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.49:1
White text4.67:1

Values

HEX#7966C2
RGBrgb(121, 102, 194)
HSLhsl(252, 43%, 58%)
OKLCHoklch(57.1% 0.138 290.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 #7966C2 4.67:1 AA Lc -77.8 Fine for body text
Black text on #7966C2 4.49:1 AA large text Lc 31.8 Non-text elements, placeholder text
#7966C2 text on white 4.67:1 AA Lc 72.3 Content text, not long reading
#7966C2 text on black 4.49:1 AA large text Lc -29.4 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F5

    oklch(93.6% 0.017 289.6)

  3. Step 200

    200

    #D9D6EF

    oklch(88.6% 0.034 291.2)

  4. Step 300

    300

    #C0BAE7

    oklch(80.9% 0.063 291)

  5. Step 400

    400

    #A096DA

    oklch(70.7% 0.099 290.4)

  6. Step 500

    500

    #8A7AD0

    oklch(63.1% 0.127 290.8)

  7. Step 600

    600 (this color)

    #7966C2

    oklch(57.1% 0.138 290.9)

  8. Step 700

    700

    #6250A3

    oklch(49% 0.129 290.8)

  9. Step 800

    800

    #504284

    oklch(42.7% 0.107 290.9)

  10. Step 900

    900

    #42386A

    oklch(37.6% 0.084 291)

  11. Step 950

    950

    #27213E

    oklch(27% 0.053 291.9)

Export this scale for Tailwind in the Tailwind colors tool

#7966C2 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)#4476C50.074
Deuteranopia (no green cones)#4672C00.071
Tritanopia (no blue cones)#66788B0.113
Achromatopsia (no color)#7474740.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #7966C2

    #7966C2

    oklch(57.1% 0.138 290.9)

  • #7C7E00

    #7C7E00

    oklch(57.2% 0.126 110.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7966C2

    #7966C2

    oklch(57.1% 0.138 290.9)

  • #4675C8

    #4675C8

    oklch(57% 0.138 260.9)

  • #9C59A9

    #9C59A9

    oklch(57.2% 0.139 320.9)

Open the analogous palette in the generator

Split complementary

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

  • #7966C2

    #7966C2

    oklch(57.1% 0.138 290.9)

  • #9B6F00

    #9B6F00

    oklch(57.2% 0.118 81)

  • #448B38

    #448B38

    oklch(57.1% 0.138 140.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7966C2

    #7966C2

    oklch(57.1% 0.138 290.9)

  • #B65B19

    #B65B19

    oklch(57.2% 0.139 50.7)

  • #008C6E

    #008C6E

    oklch(57% 0.112 170.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7966C2

    #7966C2

    oklch(57.1% 0.138 290.9)

  • #BB5053

    #BB5053

    oklch(57% 0.139 20.9)

  • #7C7E00

    #7C7E00

    oklch(57.2% 0.126 110.9)

  • #00888F

    #00888F

    oklch(57% 0.097 201.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7966C2 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.