#7976DB

Closest named color: Medium Purple (#9370DB). oklch(61.5% 0.15 282.4), rgb(121, 118, 219).

Aa

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

About this color

#7976DB is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.150 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.041 away. Black text reads best on it, at 5.42:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.150)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.42:1
White text3.86:1

Values

HEX#7976DB
RGBrgb(121, 118, 219)
HSLhsl(242, 58%, 66%)
OKLCHoklch(61.5% 0.15 282.4)

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 #7976DB 3.86:1 AA large text Lc -71.5 Content text, not long reading
Black text on #7976DB 5.42:1 AA Lc 38.1 Non-text elements, placeholder text
#7976DB text on white 3.86:1 AA large text Lc 66.0 Content text, not long reading
#7976DB text on black 5.42:1 AA Lc -35.7 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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E8F8

    oklch(93.5% 0.022 283.1)

  3. Step 200

    200

    #D4D6F4

    oklch(88.4% 0.041 282.5)

  4. Step 300

    300

    #B9BBEF

    oklch(80.8% 0.073 282.9)

  5. Step 400

    400

    #9697E7

    oklch(70.8% 0.116 282.5)

  6. Step 500

    500 (this color)

    #7976DB

    oklch(61.5% 0.15 282.4)

  7. Step 600

    600

    #6862CE

    oklch(55.7% 0.162 282.3)

  8. Step 700

    700

    #5750B2

    oklch(49.1% 0.151 282.5)

  9. Step 800

    800

    #474290

    oklch(42.7% 0.125 282.6)

  10. Step 900

    900

    #3B3973

    oklch(37.8% 0.097 282.3)

  11. Step 950

    950

    #222243

    oklch(27% 0.06 281.6)

Export this scale for Tailwind in the Tailwind colors tool

#7976DB 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)#4D85DF0.060
Deuteranopia (no green cones)#487ED90.060
Tritanopia (no blue cones)#598B9E0.129
Achromatopsia (no color)#8181810.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #7976DB

    #7976DB

    oklch(61.5% 0.15 282.4)

  • #948700

    #948700

    oklch(61.6% 0.129 102.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7976DB

    #7976DB

    oklch(61.5% 0.15 282.4)

  • #3787DB

    #3787DB

    oklch(61.5% 0.149 252.4)

  • #A367C5

    #A367C5

    oklch(61.6% 0.15 312.2)

Open the analogous palette in the generator

Split complementary

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

  • #7976DB

    #7976DB

    oklch(61.5% 0.15 282.4)

  • #B47600

    #B47600

    oklch(61.6% 0.131 72.8)

  • #61972A

    #61972A

    oklch(61.7% 0.15 132.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7976DB

    #7976DB

    oklch(61.5% 0.15 282.4)

  • #CC6132

    #CC6132

    oklch(61.5% 0.149 42.6)

  • #009D6C

    #009D6C

    oklch(61.5% 0.134 162.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7976DB

    #7976DB

    oklch(61.5% 0.15 282.4)

  • #CE586C

    #CE586C

    oklch(61.5% 0.15 12.2)

  • #948700

    #948700

    oklch(61.6% 0.129 102.7)

  • #009896

    #009896

    oklch(61.5% 0.105 193.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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