#7865FF

Closest named color: Medium Slate Blue (#7B68EE). oklch(60.9% 0.219 283.4), rgb(120, 101, 255).

Aa

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

About this color

#7865FF is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.219 and its hue 283°. 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 5.10:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.219)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text5.10:1
White text4.11:1

Values

HEX#7865FF
RGBrgb(120, 101, 255)
HSLhsl(247, 100%, 70%)
OKLCHoklch(60.9% 0.219 283.4)

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 #7865FF 4.11:1 AA large text Lc -73.3 Content text, not long reading
Black text on #7865FF 5.10:1 AA Lc 36.3 Non-text elements, placeholder text
#7865FF text on white 4.11:1 AA large text Lc 67.8 Content text, not long reading
#7865FF text on black 5.10:1 AA Lc -33.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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E6E8FF

    oklch(93.6% 0.031 281.8)

  3. Step 200

    200

    #D3D5FF

    oklch(88.5% 0.058 283)

  4. Step 300

    300

    #B8B9FF

    oklch(81% 0.098 283.3)

  5. Step 400

    400

    #9591FF

    oklch(70.8% 0.158 283.2)

  6. Step 500

    500 (this color)

    #7865FF

    oklch(60.9% 0.219 283.4)

  7. Step 600

    600

    #6A4DF6

    oklch(55.6% 0.238 283.3)

  8. Step 700

    700

    #593CD7

    oklch(49.1% 0.222 283.1)

  9. Step 800

    800

    #4833AD

    oklch(42.6% 0.183 283.2)

  10. Step 900

    900

    #3C2F89

    oklch(37.7% 0.143 283.7)

  11. Step 950

    950

    #221D50

    oklch(27% 0.09 283)

Export this scale for Tailwind in the Tailwind colors tool

#7865FF 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)#0082FF0.104
Deuteranopia (no green cones)#0078FC0.098
Tritanopia (no blue cones)#3D8AA90.185
Achromatopsia (no color)#7D7D7D0.220

Harmonies

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

Complementary

The opposite hue (180°).

  • #7865FF

    #7865FF

    oklch(60.9% 0.219 283.4)

  • #918500

    #918500

    oklch(60.8% 0.128 103.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7865FF

    #7865FF

    oklch(60.9% 0.219 283.4)

  • #0082F0

    #0082F0

    oklch(60.9% 0.19 253.4)

  • #B04DDD

    #B04DDD

    oklch(61% 0.219 313.4)

Open the analogous palette in the generator

Split complementary

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

  • #7865FF

    #7865FF

    oklch(60.9% 0.219 283.4)

  • #B17500

    #B17500

    oklch(61% 0.13 73.5)

  • #569700

    #569700

    oklch(60.9% 0.172 133.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7865FF

    #7865FF

    oklch(60.9% 0.219 283.4)

  • #D65400

    #D65400

    oklch(60.9% 0.179 43.4)

  • #009B6C

    #009B6C

    oklch(61% 0.132 163.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7865FF

    #7865FF

    oklch(60.9% 0.219 283.4)

  • #E82C5B

    #E82C5B

    oklch(61% 0.22 13.5)

  • #918500

    #918500

    oklch(60.8% 0.128 103.1)

  • #009695

    #009695

    oklch(60.9% 0.104 193.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7865FF 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.