#7962F0

Closest named color: Medium Slate Blue (#7B68EE). oklch(59.4% 0.204 285.8), rgb(121, 98, 240).

Aa

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

About this color

#7962F0 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.204 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.015 away. Black text reads best on it, at 4.81:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.204)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text4.81:1
White text4.35:1

Values

HEX#7962F0
RGBrgb(121, 98, 240)
HSLhsl(250, 83%, 66%)
OKLCHoklch(59.4% 0.204 285.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 #7962F0 4.35:1 AA large text Lc -75.3 Fine for body text
Black text on #7962F0 4.81:1 AA Lc 34.3 Non-text elements, placeholder text
#7962F0 text on white 4.35:1 AA large text Lc 69.8 Content text, not long reading
#7962F0 text on black 4.81:1 AA Lc -31.9 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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E8E8FD

    oklch(93.7% 0.028 285.8)

  3. Step 200

    200

    #D5D5FD

    oklch(88.6% 0.055 285.2)

  4. Step 300

    300

    #BAB7FF

    oklch(80.8% 0.101 285.8)

  5. Step 400

    400

    #998FFF

    oklch(70.7% 0.16 285.6)

  6. Step 500

    500 (this color)

    #7962F0

    oklch(59.4% 0.204 285.8)

  7. Step 600

    600

    #6F50EC

    oklch(55.6% 0.222 285.7)

  8. Step 700

    700

    #5E3FCD

    oklch(49.1% 0.206 286)

  9. Step 800

    800

    #4C36A6

    oklch(42.8% 0.171 285.7)

  10. Step 900

    900

    #3E3184

    oklch(37.8% 0.133 285.2)

  11. Step 950

    950

    #241D4D

    oklch(26.9% 0.085 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#7962F0 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)#007DF50.106
Deuteranopia (no green cones)#0075ED0.104
Tritanopia (no blue cones)#4D83A00.170
Achromatopsia (no color)#7979790.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #7962F0

    #7962F0

    oklch(59.4% 0.204 285.8)

  • #898200

    #898200

    oklch(59.4% 0.127 105.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7962F0

    #7962F0

    oklch(59.4% 0.204 285.8)

  • #007BF2

    #007BF2

    oklch(59.5% 0.2 255.6)

  • #AC4CCF

    #AC4CCF

    oklch(59.5% 0.205 315.8)

Open the analogous palette in the generator

Split complementary

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

  • #7962F0

    #7962F0

    oklch(59.4% 0.204 285.8)

  • #A97200

    #A97200

    oklch(59.5% 0.125 75.4)

  • #489400

    #489400

    oklch(59.4% 0.176 135.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7962F0

    #7962F0

    oklch(59.4% 0.204 285.8)

  • #CB5500

    #CB5500

    oklch(59.3% 0.168 45.7)

  • #00956D

    #00956D

    oklch(59.4% 0.123 165.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7962F0

    #7962F0

    oklch(59.4% 0.204 285.8)

  • #DD3354

    #DD3354

    oklch(59.4% 0.204 15.7)

  • #898200

    #898200

    oklch(59.4% 0.127 105.9)

  • #009192

    #009192

    oklch(59.5% 0.101 195.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7962F0 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.