#7860FA

Closest named color: Medium Slate Blue (#7B68EE). oklch(59.8% 0.219 284.7), rgb(120, 96, 250).

Aa

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

About this color

#7860FA is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.219 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.027 away. Black text reads best on it, at 4.85:1.

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

Values

HEX#7860FA
RGBrgb(120, 96, 250)
HSLhsl(249, 94%, 68%)
OKLCHoklch(59.8% 0.219 284.7)

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 #7860FA 4.32:1 AA large text Lc -75.0 Content text, not long reading
Black text on #7860FA 4.85:1 AA Lc 34.6 Non-text elements, placeholder text
#7860FA text on white 4.32:1 AA large text Lc 69.5 Content text, not long reading
#7860FA text on black 4.85:1 AA Lc -32.2 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

    #E7E8FF

    oklch(93.7% 0.031 283.8)

  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

    #9790FF

    oklch(70.8% 0.159 284.4)

  6. Step 500

    500 (this color)

    #7860FA

    oklch(59.8% 0.219 284.7)

  7. Step 600

    600

    #6D4CF5

    oklch(55.6% 0.238 284.5)

  8. Step 700

    700

    #5C3AD6

    oklch(49% 0.223 284.7)

  9. Step 800

    800

    #4B32AD

    oklch(42.7% 0.184 284.8)

  10. Step 900

    900

    #3D2F89

    oklch(37.8% 0.143 284.3)

  11. Step 950

    950

    #231D50

    oklch(27.1% 0.09 284)

Export this scale for Tailwind in the Tailwind colors tool

#7860FA 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)#007EFF0.106
Deuteranopia (no green cones)#0075F70.102
Tritanopia (no blue cones)#4385A40.184
Achromatopsia (no color)#7979790.221

Harmonies

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

Complementary

The opposite hue (180°).

  • #7860FA

    #7860FA

    oklch(59.8% 0.219 284.7)

  • #8C8300

    #8C8300

    oklch(59.9% 0.127 104.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7860FA

    #7860FA

    oklch(59.8% 0.219 284.7)

  • #007DF0

    #007DF0

    oklch(59.8% 0.196 254.8)

  • #AE48D7

    #AE48D7

    oklch(59.8% 0.219 314.7)

Open the analogous palette in the generator

Split complementary

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

  • #7860FA

    #7860FA

    oklch(59.8% 0.219 284.7)

  • #AB7200

    #AB7200

    oklch(59.7% 0.126 74.4)

  • #4E9500

    #4E9500

    oklch(59.9% 0.174 134.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7860FA

    #7860FA

    oklch(59.8% 0.219 284.7)

  • #CF5400

    #CF5400

    oklch(59.8% 0.172 44.5)

  • #00976C

    #00976C

    oklch(59.9% 0.127 164.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7860FA

    #7860FA

    oklch(59.8% 0.219 284.7)

  • #E42654

    #E42654

    oklch(59.8% 0.22 14.8)

  • #8C8300

    #8C8300

    oklch(59.9% 0.127 104.8)

  • #009292

    #009292

    oklch(59.8% 0.102 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 #7860FA, closest first.

Similar named colors

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

Use #7860FA 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.