#787FE9#787FE9

#787FE9 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.0% C 0.157 H 278.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#787FE9
RGBrgb(120, 127, 233)
HSLhsl(236, 72%, 69%)
HSVhsv(236, 48%, 91%)
CMYKcmyk(48.5%, 45.5%, 0%, 8.6%)
CIE-LABlab(57.13, 25.37, -54.64)
CIE-LCHlch(57.13, 60.24, 294.91°)
OKLaboklab(64.02% 0.0222 -0.1552)
OKLCHoklch(64.02% 0.157 278.1)
XYZxyz(30.0385, 25.0533, 80.3280)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FE9 #E9E278
analogous
#78B8E9 #787FE9 #AA78E9
triadic
#787FE9 #E9787F #7FE978
tetradic
#787FE9 #E978B8 #E9E278 #78E9AA
square
#787FE9 #E978B8 #E9E278 #78E9AA
split-complementary
#787FE9 #E9AA78 #B8E978
monochromatic
#202BC6 #434DE0 #787FE9 #ADB1F2 #E1E3FA

Accessibility & contrast

On white

3.49
#787FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#787FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FE9
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FE9#FFFFFF#000000##000000
##787FE91.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EED
Deuteranopia (green-blind)
#4985E7
Tritanopia (blue-blind)
#4D96A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #787fe9;
/* rgb */ color: rgb(120, 127, 233);
/* oklch */ color: oklch(64.0% 0.157 278.1);
Tailwind
colors: {
  custom: {
    50: '#a5a4f0',
    500: '#787fe9',
    950: '#000000',
  },
}
SCSS
$custom: #787fe9;
$custom-light: #a5a4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#787fe9",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 233
  },
  "hsl": {
    "h": 236.283,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64018,
    "c": 0.15674,
    "h": 278.1
  },
  "luminance": 0.25055
}

Semantic roles & 50–950 ramp

primary
#787FE9
secondary
#EFEDCE
accent
#C811D4
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #787FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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