#7962F7

Closest named color: Medium Slate Blue (#7B68EE). oklch(60% 0.213 285), rgb(121, 98, 247).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.213)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text4.90:1
White text4.28:1

Values

HEX#7962F7
RGBrgb(121, 98, 247)
HSLhsl(249, 90%, 68%)
OKLCHoklch(60% 0.213 285)

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 #7962F7 4.28:1 AA large text Lc -74.7 Content text, not long reading
Black text on #7962F7 4.90:1 AA Lc 34.9 Non-text elements, placeholder text
#7962F7 text on white 4.28:1 AA large text Lc 69.2 Content text, not long reading
#7962F7 text on black 4.90:1 AA Lc -32.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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E7E8FE

    oklch(93.7% 0.03 283.7)

  3. Step 200

    200

    #D4D5FF

    oklch(88.6% 0.058 284.1)

  4. Step 300

    300

    #B9B8FF

    oklch(80.9% 0.1 284.6)

  5. Step 400

    400

    #988FFF

    oklch(70.7% 0.16 285.2)

  6. Step 500

    500 (this color)

    #7962F7

    oklch(60% 0.213 285)

  7. Step 600

    600

    #6E4EF2

    oklch(55.7% 0.232 285)

  8. Step 700

    700

    #5D3DD2

    oklch(49.2% 0.215 285.2)

  9. Step 800

    800

    #4B34AA

    oklch(42.7% 0.178 284.9)

  10. Step 900

    900

    #3E2F87

    oklch(37.7% 0.14 285.3)

  11. Step 950

    950

    #241D4F

    oklch(27.1% 0.088 285.2)

Export this scale for Tailwind in the Tailwind colors tool

#7962F7 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)#007EFC0.106
Deuteranopia (no green cones)#0076F40.103
Tritanopia (no blue cones)#4885A30.178
Achromatopsia (no color)#7A7A7A0.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #7962F7

    #7962F7

    oklch(60% 0.213 285)

  • #8C8300

    #8C8300

    oklch(59.9% 0.127 104.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7962F7

    #7962F7

    oklch(60% 0.213 285)

  • #007DF2

    #007DF2

    oklch(59.9% 0.198 255.1)

  • #AE4BD5

    #AE4BD5

    oklch(60% 0.213 315)

Open the analogous palette in the generator

Split complementary

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

  • #7962F7

    #7962F7

    oklch(60% 0.213 285)

  • #AB7300

    #AB7300

    oklch(59.9% 0.126 75.1)

  • #4D9500

    #4D9500

    oklch(59.9% 0.175 134.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7962F7

    #7962F7

    oklch(60% 0.213 285)

  • #CF5500

    #CF5500

    oklch(60% 0.172 44.9)

  • #00976D

    #00976D

    oklch(59.9% 0.126 165.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7962F7

    #7962F7

    oklch(60% 0.213 285)

  • #E22E55

    #E22E55

    oklch(60% 0.213 15.2)

  • #8C8300

    #8C8300

    oklch(59.9% 0.127 104.8)

  • #009393

    #009393

    oklch(60.1% 0.103 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 #7962F7, closest first.

Similar named colors

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

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