#787CF0#787CF0

#787CF0 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.9% C 0.170 H 278.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#787CF0
RGBrgb(120, 124, 240)
HSLhsl(238, 80%, 71%)
HSVhsv(238, 50%, 94%)
CMYKcmyk(50%, 48.3%, 0%, 5.9%)
CIE-LABlab(56.78, 29.27, -59.08)
CIE-LCHlch(56.78, 65.94, 296.35°)
OKLaboklab(63.88% 0.0264 -0.1682)
OKLCHoklch(63.88% 0.17 278.9)
XYZxyz(30.6767, 24.6979, 85.5719)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CF0 #F0EC78
analogous
#78B8F0 #787CF0 #B078F0
triadic
#787CF0 #F0787C #7CF078
tetradic
#787CF0 #F078B8 #F0EC78 #78F0B0
square
#787CF0 #F078B8 #F0EC78 #78F0B0
split-complementary
#787CF0 #F0B078 #B8F078
monochromatic
#181ED6 #4147EA #787CF0 #AFB1F6 #E3E4FC

Accessibility & contrast

On white

3.54
#787CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#787CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CF0
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CF0#FFFFFF#000000##000000
##787CF01.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#478DF4
Deuteranopia (green-blind)
#3B84ED
Tritanopia (blue-blind)
#4895AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #787cf0;
/* rgb */ color: rgb(120, 124, 240);
/* oklch */ color: oklch(63.9% 0.170 278.9);
Tailwind
colors: {
  custom: {
    50: '#a6a1f5',
    500: '#787cf0',
    950: '#000000',
  },
}
SCSS
$custom: #787cf0;
$custom-light: #a6a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#787cf0",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 240
  },
  "hsl": {
    "h": 238,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63884,
    "c": 0.1703,
    "h": 278.9
  },
  "luminance": 0.247
}

Semantic roles & 50–950 ramp

primary
#787CF0
secondary
#F2F1D2
accent
#D509DC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #787CF0

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#787CF0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva