#787CFF#787CFF

#787CFF is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.9% C 0.190 H 278.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#787CFF
RGBrgb(120, 124, 255)
HSLhsl(238, 100%, 74%)
HSVhsv(238, 53%, 100%)
CMYKcmyk(52.9%, 51.4%, 0%, 0%)
CIE-LABlab(57.68, 33.82, -65.93)
CIE-LCHlch(57.68, 74.10, 297.16°)
OKLaboklab(64.85% 0.0277 -0.1884)
OKLCHoklch(64.85% 0.19 278.4)
XYZxyz(32.9977, 25.6263, 97.7959)
Luminance0.2563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CFF #FFFB78
analogous
#78BFFF #787CFF #B778FF
triadic
#787CFF #FF787C #7CFF78
tetradic
#787CFF #FF78BF #FFFB78 #78FFB7
square
#787CFF #FF78BF #FFFB78 #78FFB7
split-complementary
#787CFF #FFB778 #BFFF78
monochromatic
#0007FD #3B41FF #787CFF #B5B7FF #E0E1FF

Accessibility & contrast

On white

3.43
#787CFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#787CFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CFF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CFF#FFFFFF#000000##000000
##787CFF1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3590FF
Deuteranopia (green-blind)
#2085FC
Tritanopia (blue-blind)
#3999B2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #787cff;
/* rgb */ color: rgb(120, 124, 255);
/* oklch */ color: oklch(64.9% 0.190 278.4);
Tailwind
colors: {
  custom: {
    50: '#a8a2ff',
    500: '#787cff',
    950: '#000000',
  },
}
SCSS
$custom: #787cff;
$custom-light: #a8a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#787cff",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 255
  },
  "hsl": {
    "h": 238.222,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.64851,
    "c": 0.19039,
    "h": 278.4
  },
  "luminance": 0.25628
}

Semantic roles & 50–950 ramp

primary
#787CFF
secondary
#F7F6D4
accent
#DF00E6
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #787CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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