#786FFB

Closest named color: Medium Slate Blue (#7B68EE). oklch(62.3% 0.202 281.7), rgb(120, 111, 251).

Aa

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

About this color

#786FFB is a medium-light, vivid purple. In OKLCH its lightness is 62%, its chroma 0.202 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.024 away. Black text reads best on it, at 5.46:1.

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

Values

HEX#786FFB
RGBrgb(120, 111, 251)
HSLhsl(244, 95%, 71%)
OKLCHoklch(62.3% 0.202 281.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 #786FFB 3.84:1 AA large text Lc -71.1 Content text, not long reading
Black text on #786FFB 5.46:1 AA Lc 38.5 Non-text elements, placeholder text
#786FFB text on white 3.84:1 AA large text Lc 65.6 Content text, not long reading
#786FFB text on black 5.46:1 AA Lc -36.1 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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FD

    oklch(93.6% 0.028 281.5)

  3. Step 200

    200

    #D2D6FD

    oklch(88.5% 0.054 280.6)

  4. Step 300

    300

    #B6B9FF

    oklch(80.9% 0.099 282.1)

  5. Step 400

    400

    #9292FF

    oklch(70.8% 0.157 281.6)

  6. Step 500

    500 (this color)

    #786FFB

    oklch(62.3% 0.202 281.7)

  7. Step 600

    600

    #6655ED

    oklch(55.7% 0.219 281.7)

  8. Step 700

    700

    #5543CE

    oklch(49% 0.204 281.6)

  9. Step 800

    800

    #4539A7

    oklch(42.7% 0.169 281.4)

  10. Step 900

    900

    #393384

    oklch(37.7% 0.131 281.4)

  11. Step 950

    950

    #211F4D

    oklch(27% 0.082 281.3)

Export this scale for Tailwind in the Tailwind colors tool

#786FFB 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)#0087FF0.096
Deuteranopia (no green cones)#007DF80.093
Tritanopia (no blue cones)#408FAA0.173
Achromatopsia (no color)#8282820.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #786FFB

    #786FFB

    oklch(62.3% 0.202 281.7)

  • #988900

    #988900

    oklch(62.4% 0.131 101.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #786FFB

    #786FFB

    oklch(62.3% 0.202 281.7)

  • #0088F1

    #0088F1

    oklch(62.3% 0.185 251.7)

  • #AE59DD

    #AE59DD

    oklch(62.2% 0.202 311.6)

Open the analogous palette in the generator

Split complementary

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

  • #786FFB

    #786FFB

    oklch(62.3% 0.202 281.7)

  • #B87700

    #B87700

    oklch(62.3% 0.134 71.5)

  • #5E9B00

    #5E9B00

    oklch(62.3% 0.173 131.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #786FFB

    #786FFB

    oklch(62.3% 0.202 281.7)

  • #DF5300

    #DF5300

    oklch(62.2% 0.189 41.7)

  • #00A06C

    #00A06C

    oklch(62.3% 0.138 161.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #786FFB

    #786FFB

    oklch(62.3% 0.202 281.7)

  • #E53F67

    #E53F67

    oklch(62.2% 0.202 11.5)

  • #988900

    #988900

    oklch(62.4% 0.131 101.7)

  • #009B97

    #009B97

    oklch(62.3% 0.107 191.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #786FFB.

Similar named colors

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

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