#785CE4

Closest named color: Purpley (#8756E4). oklch(57.5% 0.197 288), rgb(120, 92, 228).

Aa

White text reads best on this color (4.71:1).

About this color

#785CE4 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.197 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.027 away. White text reads best on it, at 4.71:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.197)
Temperaturecool
Nearest namePurpley (#8756E4)
Black text4.44:1
White text4.71:1

Values

HEX#785CE4
RGBrgb(120, 92, 228)
HSLhsl(252, 72%, 63%)
OKLCHoklch(57.5% 0.197 288)

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 #785CE4 4.71:1 AA Lc -77.8 Fine for body text
Black text on #785CE4 4.44:1 AA large text Lc 31.7 Non-text elements, placeholder text
#785CE4 text on white 4.71:1 AA Lc 72.4 Content text, not long reading
#785CE4 text on black 4.44:1 AA large text Lc -29.3 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D7D5F9

    oklch(88.6% 0.049 287.9)

  4. Step 300

    300

    #BDB8F7

    oklch(80.9% 0.088 287.9)

  5. Step 400

    400

    #9D90F3

    oklch(70.6% 0.142 288.2)

  6. Step 500

    500

    #8771EF

    oklch(63% 0.182 288)

  7. Step 600

    600 (this color)

    #785CE4

    oklch(57.5% 0.197 288)

  8. Step 700

    700

    #6145C0

    oklch(49.2% 0.183 288.2)

  9. Step 800

    800

    #4F3A9B

    oklch(42.8% 0.151 288.3)

  10. Step 900

    900

    #41337C

    oklch(37.8% 0.119 288.2)

  11. Step 950

    950

    #261F48

    oklch(27.1% 0.074 288.3)

Export this scale for Tailwind in the Tailwind colors tool

#785CE4 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)#0076E80.109
Deuteranopia (no green cones)#0070E10.108
Tritanopia (no blue cones)#547B970.162
Achromatopsia (no color)#7373730.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #785CE4

    #785CE4

    oklch(57.5% 0.197 288)

  • #817E00

    #817E00

    oklch(57.7% 0.124 108.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #785CE4

    #785CE4

    oklch(57.5% 0.197 288)

  • #1A73EA

    #1A73EA

    oklch(57.5% 0.197 258.1)

  • #A747C2

    #A747C2

    oklch(57.5% 0.198 318.1)

Open the analogous palette in the generator

Split complementary

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

  • #785CE4

    #785CE4

    oklch(57.5% 0.197 288)

  • #9F6E00

    #9F6E00

    oklch(57.4% 0.12 77.9)

  • #398F00

    #398F00

    oklch(57.4% 0.177 138)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #785CE4

    #785CE4

    oklch(57.5% 0.197 288)

  • #BF5500

    #BF5500

    oklch(57.5% 0.156 48.2)

  • #008E6C

    #008E6C

    oklch(57.5% 0.116 168.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #785CE4

    #785CE4

    oklch(57.5% 0.197 288)

  • #D4314A

    #D4314A

    oklch(57.5% 0.198 18.1)

  • #817E00

    #817E00

    oklch(57.7% 0.124 108.1)

  • #008A8E

    #008A8E

    oklch(57.5% 0.098 198.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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