#785DFD

Closest named color: Medium Slate Blue (#7B68EE). oklch(59.6% 0.227 284.9), rgb(120, 93, 253).

Aa

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

About this color

#785DFD is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.227 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.034 away. Black text reads best on it, at 4.78:1.

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

Values

HEX#785DFD
RGBrgb(120, 93, 253)
HSLhsl(250, 98%, 68%)
OKLCHoklch(59.6% 0.227 284.9)

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

    #E7E7FF

    oklch(93.5% 0.032 285.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

    #988FFF

    oklch(70.7% 0.16 285.2)

  6. Step 500

    500 (this color)

    #785DFD

    oklch(59.6% 0.227 284.9)

  7. Step 600

    600

    #6E48F9

    oklch(55.5% 0.246 284.9)

  8. Step 700

    700

    #5D37D9

    oklch(49% 0.229 285)

  9. Step 800

    800

    #4B30B0

    oklch(42.7% 0.19 284.7)

  10. Step 900

    900

    #3E2D8B

    oklch(37.7% 0.148 285.1)

  11. Step 950

    950

    #241C51

    oklch(27% 0.093 285.2)

Export this scale for Tailwind in the Tailwind colors tool

#785DFD 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)#007DFF0.109
Deuteranopia (no green cones)#0073FA0.103
Tritanopia (no blue cones)#4084A50.189
Achromatopsia (no color)#7878780.228

Harmonies

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

Complementary

The opposite hue (180°).

  • #785DFD

    #785DFD

    oklch(59.6% 0.227 284.9)

  • #8B8200

    #8B8200

    oklch(59.6% 0.126 104.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #785DFD

    #785DFD

    oklch(59.6% 0.227 284.9)

  • #007CEF

    #007CEF

    oklch(59.5% 0.196 254.9)

  • #AF44D9

    #AF44D9

    oklch(59.6% 0.226 314.8)

Open the analogous palette in the generator

Split complementary

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

  • #785DFD

    #785DFD

    oklch(59.6% 0.227 284.9)

  • #AA7200

    #AA7200

    oklch(59.6% 0.126 74.9)

  • #4C9400

    #4C9400

    oklch(59.6% 0.174 135)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #785DFD

    #785DFD

    oklch(59.6% 0.227 284.9)

  • #CD5400

    #CD5400

    oklch(59.5% 0.17 44.9)

  • #00966C

    #00966C

    oklch(59.6% 0.126 164.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #785DFD

    #785DFD

    oklch(59.6% 0.227 284.9)

  • #E61C52

    #E61C52

    oklch(59.6% 0.227 14.8)

  • #8B8200

    #8B8200

    oklch(59.6% 0.126 104.7)

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

Similar named colors

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

Use #785DFD 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.