#7976BA

Closest named color: Deep Lilac (#966EBD). oklch(59.7% 0.102 284.9), rgb(121, 118, 186).

Aa

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

About this color

#7976BA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.102 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.049 away. Black text reads best on it, at 5.11:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.102)
Temperaturecool
Nearest nameDeep Lilac (#966EBD)
Black text5.11:1
White text4.10:1

Values

HEX#7976BA
RGBrgb(121, 118, 186)
HSLhsl(243, 33%, 60%)
OKLCHoklch(59.7% 0.102 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 #7976BA 4.10:1 AA large text Lc -73.6 Content text, not long reading
Black text on #7976BA 5.11:1 AA Lc 35.9 Non-text elements, placeholder text
#7976BA text on white 4.10:1 AA large text Lc 68.1 Content text, not long reading
#7976BA text on black 5.11:1 AA Lc -33.5 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D7D7EB

    oklch(88.5% 0.027 285.8)

  4. Step 300

    300

    #BCBDE0

    oklch(80.9% 0.049 284)

  5. Step 400

    400

    #9B9AD1

    oklch(70.7% 0.08 285)

  6. Step 500

    500 (this color)

    #7976BA

    oklch(59.7% 0.102 284.9)

  7. Step 600

    600

    #6D69B2

    oklch(55.7% 0.111 284.7)

  8. Step 700

    700

    #5B5799

    oklch(49.1% 0.104 284.7)

  9. Step 800

    800

    #4A477C

    oklch(42.6% 0.086 284.7)

  10. Step 900

    900

    #3E3C64

    oklch(37.7% 0.068 285)

  11. Step 950

    950

    #24233A

    oklch(26.9% 0.042 285.2)

Export this scale for Tailwind in the Tailwind colors tool

#7976BA 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)#617FBD0.037
Deuteranopia (no green cones)#5F7BB80.037
Tritanopia (no blue cones)#68838F0.089
Achromatopsia (no color)#7D7D7D0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #7976BA

    #7976BA

    oklch(59.7% 0.102 284.9)

  • #898231

    #898231

    oklch(59.6% 0.102 104.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7976BA

    #7976BA

    oklch(59.7% 0.102 284.9)

  • #5481BB

    #5481BB

    oklch(59.6% 0.102 255.3)

  • #966CA9

    #966CA9

    oklch(59.7% 0.102 314.9)

Open the analogous palette in the generator

Split complementary

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

  • #7976BA

    #7976BA

    oklch(59.7% 0.102 284.9)

  • #A37630

    #A37630

    oklch(59.8% 0.103 75.3)

  • #648D4D

    #648D4D

    oklch(59.7% 0.102 135.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7976BA

    #7976BA

    oklch(59.7% 0.102 284.9)

  • #B26A4A

    #B26A4A

    oklch(59.7% 0.103 44.3)

  • #379270

    #379270

    oklch(59.6% 0.101 165.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7976BA

    #7976BA

    oklch(59.7% 0.102 284.9)

  • #B4646C

    #B4646C

    oklch(59.7% 0.103 14.3)

  • #898231

    #898231

    oklch(59.6% 0.102 104.4)

  • #009292

    #009292

    oklch(59.8% 0.102 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 #7976BA, closest first.

Similar named colors

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

Use #7976BA 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.