#787CF5#787CF5

#787CF5 is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.2% C 0.177 H 278.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#787CF5
RGBrgb(120, 124, 245)
HSLhsl(238, 86%, 72%)
HSVhsv(238, 51%, 96%)
CMYKcmyk(51%, 49.4%, 0%, 3.9%)
CIE-LABlab(57.07, 30.78, -61.38)
CIE-LCHlch(57.07, 68.67, 296.63°)
OKLaboklab(64.2% 0.0269 -0.175)
OKLCHoklch(64.2% 0.177 278.7)
XYZxyz(31.4297, 24.9991, 89.5377)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CF5 #F5F178
analogous
#78BBF5 #787CF5 #B378F5
triadic
#787CF5 #F5787C #7CF578
tetradic
#787CF5 #F578BB #F5F178 #78F5B3
square
#787CF5 #F578BB #F5F178 #78F5B3
split-complementary
#787CF5 #F5B378 #BBF578
monochromatic
#1117E2 #3F45F1 #787CF5 #B1B3F9 #E3E3FD

Accessibility & contrast

On white

3.50
#787CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#787CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CF5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CF5#FFFFFF#000000##000000
##787CF51.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#428EF9
Deuteranopia (green-blind)
#3484F2
Tritanopia (blue-blind)
#4497AD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #787cf5;
/* rgb */ color: rgb(120, 124, 245);
/* oklch */ color: oklch(64.2% 0.177 278.7);
Tailwind
colors: {
  custom: {
    50: '#a7a1f9',
    500: '#787cf5',
    950: '#000000',
  },
}
SCSS
$custom: #787cf5;
$custom-light: #a7a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#787cf5",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 238.08,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64201,
    "c": 0.17706,
    "h": 278.7
  },
  "luminance": 0.25001
}

Semantic roles & 50–950 ramp

primary
#787CF5
secondary
#F4F3D4
accent
#DC03E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #787CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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