#7976E6

Closest named color: Cornflower (#6A79F7). oklch(62.2% 0.165 281.7), rgb(121, 118, 230).

Aa

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

About this color

#7976E6 is a medium-light, vivid purple. In OKLCH its lightness is 62%, its chroma 0.165 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.032 away. Black text reads best on it, at 5.54:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromavivid (0.165)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.54:1
White text3.78:1

Values

HEX#7976E6
RGBrgb(121, 118, 230)
HSLhsl(242, 69%, 68%)
OKLCHoklch(62.2% 0.165 281.7)

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 #7976E6 3.78:1 AA large text Lc -70.7 Content text, not long reading
Black text on #7976E6 5.54:1 AA Lc 38.9 Non-text elements, placeholder text
#7976E6 text on white 3.78:1 AA large text Lc 65.2 Content text, not long reading
#7976E6 text on black 5.54:1 AA Lc -36.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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E7E8FA

    oklch(93.6% 0.024 283.4)

  3. Step 200

    200

    #D4D6F7

    oklch(88.5% 0.045 282.7)

  4. Step 300

    300

    #B7BBF4

    oklch(80.9% 0.08 281.3)

  5. Step 400

    400

    #9496EF

    oklch(70.8% 0.129 281.6)

  6. Step 500

    500 (this color)

    #7976E6

    oklch(62.2% 0.165 281.7)

  7. Step 600

    600

    #665FD7

    oklch(55.6% 0.178 281.5)

  8. Step 700

    700

    #554DBB

    oklch(49.1% 0.167 281.6)

  9. Step 800

    800

    #464097

    oklch(42.7% 0.138 282)

  10. Step 900

    900

    #3A3778

    oklch(37.6% 0.108 282)

  11. Step 950

    950

    #222146

    oklch(27% 0.067 282.1)

Export this scale for Tailwind in the Tailwind colors tool

#7976E6 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)#4487EA0.067
Deuteranopia (no green cones)#3C7FE40.069
Tritanopia (no blue cones)#528EA30.142
Achromatopsia (no color)#8383830.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #7976E6

    #7976E6

    oklch(62.2% 0.165 281.7)

  • #978800

    #978800

    oklch(62.1% 0.13 101.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7976E6

    #7976E6

    oklch(62.2% 0.165 281.7)

  • #2889E6

    #2889E6

    oklch(62.3% 0.165 251.8)

  • #A765CE

    #A765CE

    oklch(62.2% 0.165 311.5)

Open the analogous palette in the generator

Split complementary

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

  • #7976E6

    #7976E6

    oklch(62.2% 0.165 281.7)

  • #B87700

    #B87700

    oklch(62.3% 0.134 71.5)

  • #609A15

    #609A15

    oklch(62.2% 0.165 131.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7976E6

    #7976E6

    oklch(62.2% 0.165 281.7)

  • #D55D29

    #D55D29

    oklch(62.2% 0.164 41.7)

  • #00A06C

    #00A06C

    oklch(62.3% 0.138 161.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7976E6

    #7976E6

    oklch(62.2% 0.165 281.7)

  • #D6546D

    #D6546D

    oklch(62.2% 0.164 11.5)

  • #978800

    #978800

    oklch(62.1% 0.13 101.6)

  • #009B97

    #009B97

    oklch(62.3% 0.107 191.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7976E6.

Similar named colors

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

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