#787DF4#787DF4

#787DF4 is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.3% C 0.174 H 278.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#787DF4
RGBrgb(120, 125, 244)
HSLhsl(238, 85%, 71%)
HSVhsv(238, 51%, 96%)
CMYKcmyk(50.8%, 48.8%, 0%, 4.3%)
CIE-LABlab(57.26, 29.88, -60.53)
CIE-LCHlch(57.26, 67.51, 296.27°)
OKLaboklab(64.32% 0.0257 -0.1725)
OKLCHoklch(64.32% 0.174 278.5)
XYZxyz(31.4034, 25.1901, 88.7778)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DF4 #F4EF78
analogous
#78BBF4 #787DF4 #B178F4
triadic
#787DF4 #F4787D #7DF478
tetradic
#787DF4 #F478BB #F4EF78 #78F4B1
square
#787DF4 #F478BB #F4EF78 #78F4B1
split-complementary
#787DF4 #F4B178 #BBF478
monochromatic
#121ADF #3F47EF #787DF4 #B1B3F9 #E3E4FD

Accessibility & contrast

On white

3.48
#787DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#787DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DF4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DF4#FFFFFF#000000##000000
##787DF41.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#458EF8
Deuteranopia (green-blind)
#3885F1
Tritanopia (blue-blind)
#4497AD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #787df4;
/* rgb */ color: rgb(120, 125, 244);
/* oklch */ color: oklch(64.3% 0.174 278.5);
Tailwind
colors: {
  custom: {
    50: '#a7a2f8',
    500: '#787df4',
    950: '#000000',
  },
}
SCSS
$custom: #787df4;
$custom-light: #a7a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#787df4",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 237.581,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64322,
    "c": 0.1744,
    "h": 278.5
  },
  "luminance": 0.25192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #787DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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