#787CFD#787CFD

#787CFD is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.7% C 0.188 H 278.4°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#787CFD
RGBrgb(120, 124, 253)
HSLhsl(238, 97%, 73%)
HSVhsv(238, 53%, 99%)
CMYKcmyk(52.6%, 51%, 0%, 0.8%)
CIE-LABlab(57.56, 33.21, -65.03)
CIE-LCHlch(57.56, 73.02, 297.06°)
OKLaboklab(64.72% 0.0275 -0.1857)
OKLCHoklch(64.72% 0.188 278.4)
XYZxyz(32.6774, 25.4982, 96.1092)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CFD #FDF978
analogous
#78BFFD #787CFD #B678FD
triadic
#787CFD #FD787C #7CFD78
tetradic
#787CFD #FD78BF #FDF978 #78FDB6
square
#787CFD #FD78BF #FDF978 #78FDB6
split-complementary
#787CFD #FDB678 #BFFD78
monochromatic
#040BF7 #3C41FC #787CFD #B4B7FE #E1E2FF

Accessibility & contrast

On white

3.44
#787CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#787CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CFD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CFD#FFFFFF#000000##000000
##787CFD1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3890FF
Deuteranopia (green-blind)
#2585FA
Tritanopia (blue-blind)
#3C99B1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #787cfd;
/* rgb */ color: rgb(120, 124, 253);
/* oklch */ color: oklch(64.7% 0.188 278.4);
Tailwind
colors: {
  custom: {
    50: '#a8a1ff',
    500: '#787cfd',
    950: '#000000',
  },
}
SCSS
$custom: #787cfd;
$custom-light: #a8a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#787cfd",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 238.195,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.64719,
    "c": 0.18774,
    "h": 278.4
  },
  "luminance": 0.255
}

Semantic roles & 50–950 ramp

primary
#787CFD
secondary
#F7F6D4
accent
#DF00E6
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#100F18
muted
#7F7E86

Preview Lab

Preview with #787CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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