#787CC8

Closest named color: Deep Lilac (#966EBD). oklch(61.6% 0.114 280.2), rgb(120, 124, 200).

Aa

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

About this color

#787CC8 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.114 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.055 away. Black text reads best on it, at 5.51:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest nameDeep Lilac (#966EBD)
Black text5.51:1
White text3.80:1

Values

HEX#787CC8
RGBrgb(120, 124, 200)
HSLhsl(237, 42%, 63%)
OKLCHoklch(61.6% 0.114 280.2)

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 #787CC8 3.80:1 AA large text Lc -71.0 Content text, not long reading
Black text on #787CC8 5.51:1 AA Lc 38.6 Non-text elements, placeholder text
#787CC8 text on white 3.80:1 AA large text Lc 65.5 Content text, not long reading
#787CC8 text on black 5.51:1 AA Lc -36.2 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F5

    oklch(93.6% 0.016 278.5)

  3. Step 200

    200

    #D5D7EE

    oklch(88.5% 0.032 281.8)

  4. Step 300

    300

    #B9BDE5

    oklch(80.9% 0.056 280.6)

  5. Step 400

    400

    #959BD8

    oklch(70.8% 0.089 279.5)

  6. Step 500

    500 (this color)

    #787CC8

    oklch(61.6% 0.114 280.2)

  7. Step 600

    600

    #6669BA

    oklch(55.6% 0.124 279.9)

  8. Step 700

    700

    #5557A0

    oklch(49.1% 0.115 280.1)

  9. Step 800

    800

    #464782

    oklch(42.6% 0.096 280.8)

  10. Step 900

    900

    #3A3C68

    oklch(37.6% 0.075 280.2)

  11. Step 950

    950

    #22243D

    oklch(27.1% 0.046 279.3)

Export this scale for Tailwind in the Tailwind colors tool

#787CC8 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)#6286CB0.036
Deuteranopia (no green cones)#5E80C60.034
Tritanopia (no blue cones)#608B980.101
Achromatopsia (no color)#8383830.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #787CC8

    #787CC8

    oklch(61.6% 0.114 280.2)

  • #958625

    #958625

    oklch(61.6% 0.114 100.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787CC8

    #787CC8

    oklch(61.6% 0.114 280.2)

  • #4B89C7

    #4B89C7

    oklch(61.6% 0.114 250.2)

  • #9A70B8

    #9A70B8

    oklch(61.5% 0.115 310.2)

Open the analogous palette in the generator

Split complementary

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

  • #787CC8

    #787CC8

    oklch(61.6% 0.114 280.2)

  • #B0772B

    #B0772B

    oklch(61.5% 0.114 70)

  • #6D9245

    #6D9245

    oklch(61.4% 0.114 130.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787CC8

    #787CC8

    oklch(61.6% 0.114 280.2)

  • #BE6B4E

    #BE6B4E

    oklch(61.5% 0.114 39.9)

  • #389A6D

    #389A6D

    oklch(61.7% 0.115 160.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787CC8

    #787CC8

    oklch(61.6% 0.114 280.2)

  • #BF6675

    #BF6675

    oklch(61.7% 0.114 10.3)

  • #958625

    #958625

    oklch(61.6% 0.114 100.2)

  • #009993

    #009993

    oklch(61.6% 0.106 189.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #787CC8 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.