#787CFF

Closest named color: Cornflower (#6A79F7). oklch(64.9% 0.19 278.4), rgb(120, 124, 255).

Aa

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

About this color

#787CFF is a medium-light, vivid blue. In OKLCH its lightness is 65%, its chroma 0.190 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.024 away. Black text reads best on it, at 6.12:1.

Hue familyBlues
Lightnessmedium-light (65%)
Chromavivid (0.190)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text6.12:1
White text3.42:1

Values

HEX#787CFF
RGBrgb(120, 124, 255)
HSLhsl(238, 100%, 74%)
OKLCHoklch(64.9% 0.19 278.4)

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 #787CFF 3.42:1 AA large text Lc -67.0 Content text, not long reading
Black text on #787CFF 6.12:1 AA Lc 42.6 Non-text elements, placeholder text
#787CFF text on white 3.42:1 AA large text Lc 61.5 Content text, not long reading
#787CFF text on black 6.12:1 AA Lc -40.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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FC

    oklch(93.7% 0.026 276.4)

  3. Step 200

    200

    #D1D6FC

    oklch(88.4% 0.053 279.4)

  4. Step 300

    300

    #B2BBFD

    oklch(80.9% 0.094 278.1)

  5. Step 400

    400

    #8D95FB

    oklch(70.7% 0.148 278.5)

  6. Step 500

    500 (this color)

    #787CFF

    oklch(64.9% 0.19 278.4)

  7. Step 600

    600

    #5E5BE8

    oklch(55.6% 0.207 278.2)

  8. Step 700

    700

    #4E49CA

    oklch(49.1% 0.193 278.2)

  9. Step 800

    800

    #403DA3

    oklch(42.7% 0.16 278.5)

  10. Step 900

    900

    #353681

    oklch(37.7% 0.123 278.1)

  11. Step 950

    950

    #1F204C

    oklch(27% 0.08 278.7)

Export this scale for Tailwind in the Tailwind colors tool

#787CFF 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)#3590FF0.074
Deuteranopia (no green cones)#2085FC0.078
Tritanopia (no blue cones)#3999B20.165
Achromatopsia (no color)#8B8B8B0.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #787CFF

    #787CFF

    oklch(64.9% 0.19 278.4)

  • #A48F00

    #A48F00

    oklch(64.9% 0.134 98.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787CFF

    #787CFF

    oklch(64.9% 0.19 278.4)

  • #0093F3

    #0093F3

    oklch(64.8% 0.176 248.3)

  • #AF67E6

    #AF67E6

    oklch(64.8% 0.191 308.1)

Open the analogous palette in the generator

Split complementary

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

  • #787CFF

    #787CFF

    oklch(64.9% 0.19 278.4)

  • #C67B00

    #C67B00

    oklch(64.8% 0.142 68)

  • #6FA100

    #6FA100

    oklch(64.9% 0.171 128.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787CFF

    #787CFF

    oklch(64.9% 0.19 278.4)

  • #EA5925

    #EA5925

    oklch(64.8% 0.19 38.4)

  • #00A96B

    #00A96B

    oklch(64.8% 0.15 158.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787CFF

    #787CFF

    oklch(64.9% 0.19 278.4)

  • #E94F78

    #E94F78

    oklch(64.8% 0.191 8.1)

  • #A48F00

    #A48F00

    oklch(64.9% 0.134 98.8)

  • #00A49C

    #00A49C

    oklch(64.8% 0.112 188.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #787CFF.

Similar named colors

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

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