#7F62E2

Closest named color: Medium Slate Blue (#7B68EE). oklch(59% 0.186 289.9), rgb(127, 98, 226).

Aa

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

About this color

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

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

Values

HEX#7F62E2
RGBrgb(127, 98, 226)
HSLhsl(254, 69%, 64%)
OKLCHoklch(59% 0.186 289.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 #7F62E2 4.42:1 AA large text Lc -75.8 Fine for body text
Black text on #7F62E2 4.74:1 AA Lc 33.7 Non-text elements, placeholder text
#7F62E2 text on white 4.42:1 AA large text Lc 70.3 Content text, not long reading
#7F62E2 text on black 4.74:1 AA Lc -31.3 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 600.

  1. Step 50

    50

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FA

    oklch(93.5% 0.026 290.7)

  3. Step 200

    200

    #D8D5F7

    oklch(88.6% 0.047 289.5)

  4. Step 300

    300

    #BFB8F4

    oklch(80.9% 0.084 289.7)

  5. Step 400

    400

    #A091EE

    oklch(70.8% 0.134 289.9)

  6. Step 500

    500

    #8A72E8

    oklch(63% 0.172 289.9)

  7. Step 600

    600 (this color)

    #7F62E2

    oklch(59% 0.186 289.9)

  8. Step 700

    700

    #6346BA

    oklch(49% 0.174 290)

  9. Step 800

    800

    #513B96

    oklch(42.7% 0.143 290.2)

  10. Step 900

    900

    #423478

    oklch(37.8% 0.112 289.4)

  11. Step 950

    950

    #271F46

    oklch(27.1% 0.07 290.3)

Export this scale for Tailwind in the Tailwind colors tool

#7F62E2 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)#107AE60.112
Deuteranopia (no green cones)#1975DF0.109
Tritanopia (no blue cones)#627E990.152
Achromatopsia (no color)#7878780.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F62E2

    #7F62E2

    oklch(59% 0.186 289.9)

  • #838300

    #838300

    oklch(59% 0.129 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F62E2

    #7F62E2

    oklch(59% 0.186 289.9)

  • #3277EA

    #3277EA

    oklch(58.9% 0.188 260.1)

  • #AC4FC0

    #AC4FC0

    oklch(59% 0.187 320.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F62E2

    #7F62E2

    oklch(59% 0.186 289.9)

  • #A37300

    #A37300

    oklch(58.9% 0.122 79.5)

  • #309608

    #309608

    oklch(59.1% 0.187 139.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F62E2

    #7F62E2

    oklch(59% 0.186 289.9)

  • #C35B00

    #C35B00

    oklch(59% 0.155 50.2)

  • #009372

    #009372

    oklch(59% 0.117 169.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F62E2

    #7F62E2

    oklch(59% 0.186 289.9)

  • #D53F4D

    #D53F4D

    oklch(59% 0.186 19.9)

  • #838300

    #838300

    oklch(59% 0.129 109.8)

  • #008F94

    #008F94

    oklch(59% 0.1 199.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7F62E2.

Similar named colors

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

Use #7F62E2 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.