#7A5FF6

Closest named color: Medium Slate Blue (#7B68EE). oklch(59.5% 0.216 286), rgb(122, 95, 246).

Aa

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

About this color

#7A5FF6 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.216 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.024 away. Black text reads best on it, at 4.79:1.

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

Values

HEX#7A5FF6
RGBrgb(122, 95, 246)
HSLhsl(251, 89%, 67%)
OKLCHoklch(59.5% 0.216 286)

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 #7A5FF6 4.37:1 AA large text Lc -75.4 Fine for body text
Black text on #7A5FF6 4.79:1 AA Lc 34.2 Non-text elements, placeholder text
#7A5FF6 text on white 4.37:1 AA large text Lc 69.9 Content text, not long reading
#7A5FF6 text on black 4.79:1 AA Lc -31.8 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

    #E7E7FE

    oklch(93.5% 0.031 285.8)

  3. Step 200

    200

    #D5D4FF

    oklch(88.5% 0.059 286.2)

  4. Step 300

    300

    #BBB7FF

    oklch(80.9% 0.101 286.5)

  5. Step 400

    400

    #9A8FFF

    oklch(70.8% 0.16 286)

  6. Step 500

    500 (this color)

    #7A5FF6

    oklch(59.5% 0.216 286)

  7. Step 600

    600

    #704CF2

    oklch(55.6% 0.234 285.9)

  8. Step 700

    700

    #5F3BD3

    oklch(49.2% 0.218 286.1)

  9. Step 800

    800

    #4D32AA

    oklch(42.6% 0.18 286.3)

  10. Step 900

    900

    #3F2F87

    oklch(37.8% 0.14 285.9)

  11. Step 950

    950

    #241C4F

    oklch(26.9% 0.09 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#7A5FF6 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)#007DFB0.110
Deuteranopia (no green cones)#0074F30.106
Tritanopia (no blue cones)#4B83A20.179
Achromatopsia (no color)#7979790.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A5FF6

    #7A5FF6

    oklch(59.5% 0.216 286)

  • #898200

    #898200

    oklch(59.4% 0.127 105.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A5FF6

    #7A5FF6

    oklch(59.5% 0.216 286)

  • #007AF4

    #007AF4

    oklch(59.5% 0.204 256.1)

  • #AE48D3

    #AE48D3

    oklch(59.5% 0.215 315.7)

Open the analogous palette in the generator

Split complementary

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

  • #7A5FF6

    #7A5FF6

    oklch(59.5% 0.216 286)

  • #A97300

    #A97300

    oklch(59.6% 0.125 76.2)

  • #479500

    #479500

    oklch(59.6% 0.178 136.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A5FF6

    #7A5FF6

    oklch(59.5% 0.216 286)

  • #CB5600

    #CB5600

    oklch(59.5% 0.167 46.1)

  • #00956E

    #00956E

    oklch(59.4% 0.123 166.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A5FF6

    #7A5FF6

    oklch(59.5% 0.216 286)

  • #E22951

    #E22951

    oklch(59.6% 0.216 16)

  • #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 #7A5FF6, closest first.

Similar named colors

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

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