#787BF9#787BF9

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

Color values

HEX#787BF9
RGBrgb(120, 123, 249)
HSLhsl(239, 91%, 72%)
HSVhsv(239, 52%, 98%)
CMYKcmyk(51.8%, 50.6%, 0%, 2.4%)
CIE-LABlab(57.07, 32.59, -63.60)
CIE-LCHlch(57.07, 71.46, 297.13°)
OKLaboklab(64.28% 0.0283 -0.1815)
OKLCHoklch(64.28% 0.184 278.9)
XYZxyz(31.9222, 24.9966, 92.7469)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787BF9 #F9F678
analogous
#78BBF9 #787BF9 #B678F9
triadic
#787BF9 #F9787B #7BF978
tetradic
#787BF9 #F978BB #F9F678 #78F9B6
square
#787BF9 #F978BB #F9F678 #78F9B6
split-complementary
#787BF9 #F9B678 #BBF978
monochromatic
#0A10EC #3D42F6 #787BF9 #B3B4FC #E2E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##787BF9#FFFFFF#000000##000000
##787BF91.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)
#3A8EFD
Deuteranopia (green-blind)
#2A84F6
Tritanopia (blue-blind)
#4097AE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #787bf9;
/* rgb */ color: rgb(120, 123, 249);
/* oklch */ color: oklch(64.3% 0.184 278.9);
Tailwind
colors: {
  custom: {
    50: '#a7a1fc',
    500: '#787bf9',
    950: '#000000',
  },
}
SCSS
$custom: #787bf9;
$custom-light: #a7a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#787bf9",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 238.605,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.64276,
    "c": 0.18372,
    "h": 278.9
  },
  "luminance": 0.24999
}

Semantic roles & 50–950 ramp

primary
#787BF9
secondary
#F6F5D5
accent
#E000E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F18
muted
#7F7E86

Preview Lab

Preview with #787BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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