#786CFF

Closest named color: Medium Slate Blue (#7B68EE). oklch(62.1% 0.211 282), rgb(120, 108, 255).

Aa

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

About this color

#786CFF is a medium-light, vivid purple. In OKLCH its lightness is 62%, its chroma 0.211 and its hue 282°. 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.38:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromavivid (0.211)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text5.38:1
White text3.89:1

Values

HEX#786CFF
RGBrgb(120, 108, 255)
HSLhsl(245, 100%, 71%)
OKLCHoklch(62.1% 0.211 282)

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 #786CFF 3.89:1 AA large text Lc -71.5 Content text, not long reading
Black text on #786CFF 5.38:1 AA Lc 38.1 Non-text elements, placeholder text
#786CFF text on white 3.89:1 AA large text Lc 66.0 Content text, not long reading
#786CFF text on black 5.38:1 AA Lc -35.7 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

    #F4F5FF

    oklch(97.2% 0.013 281.6)

  2. Step 100

    100

    #E6E8FE

    oklch(93.6% 0.03 281.7)

  3. Step 200

    200

    #D2D5FF

    oklch(88.4% 0.058 281.9)

  4. Step 300

    300

    #B6B9FF

    oklch(80.9% 0.099 282.1)

  5. Step 400

    400

    #9392FF

    oklch(70.8% 0.157 282.1)

  6. Step 500

    500 (this color)

    #786CFF

    oklch(62.1% 0.211 282)

  7. Step 600

    600

    #6751F2

    oklch(55.6% 0.229 282.1)

  8. Step 700

    700

    #5640D3

    oklch(49.1% 0.213 281.9)

  9. Step 800

    800

    #4636AA

    oklch(42.6% 0.177 282.2)

  10. Step 900

    900

    #3A3187

    oklch(37.7% 0.138 282.2)

  11. Step 950

    950

    #211E4F

    oklch(27% 0.087 281.6)

Export this scale for Tailwind in the Tailwind colors tool

#786CFF 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)#0086FF0.099
Deuteranopia (no green cones)#007CFC0.094
Tritanopia (no blue cones)#3C8EAB0.180
Achromatopsia (no color)#8181810.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #786CFF

    #786CFF

    oklch(62.1% 0.211 282)

  • #968800

    #968800

    oklch(62% 0.13 102.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #786CFF

    #786CFF

    oklch(62.1% 0.211 282)

  • #0087F1

    #0087F1

    oklch(62% 0.186 252)

  • #B055E0

    #B055E0

    oklch(62.1% 0.211 312)

Open the analogous palette in the generator

Split complementary

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

  • #786CFF

    #786CFF

    oklch(62.1% 0.211 282)

  • #B77700

    #B77700

    oklch(62.1% 0.133 72)

  • #5D9A00

    #5D9A00

    oklch(62% 0.172 131.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #786CFF

    #786CFF

    oklch(62.1% 0.211 282)

  • #DE5300

    #DE5300

    oklch(62.1% 0.188 41.9)

  • #009F6D

    #009F6D

    oklch(62.1% 0.136 162.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #786CFF

    #786CFF

    oklch(62.1% 0.211 282)

  • #E83864

    #E83864

    oklch(62% 0.211 11.9)

  • #968800

    #968800

    oklch(62% 0.13 102.2)

  • #009A97

    #009A97

    oklch(62% 0.106 192.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #786CFF 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.