#787EE2#787EE2

#787EE2 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.4% C 0.148 H 278.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#787EE2
RGBrgb(120, 126, 226)
HSLhsl(237, 65%, 68%)
HSVhsv(237, 47%, 89%)
CMYKcmyk(46.9%, 44.2%, 0%, 11.4%)
CIE-LABlab(56.49, 23.88, -51.74)
CIE-LCHlch(56.49, 56.99, 294.77°)
OKLaboklab(63.41% 0.0224 -0.1467)
OKLCHoklch(63.41% 0.148 278.7)
XYZxyz(28.9299, 24.4042, 75.1229)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787EE2 #E2DC78
analogous
#78B3E2 #787EE2 #A778E2
triadic
#787EE2 #E2787E #7EE278
tetradic
#787EE2 #E278B3 #E2DC78 #78E2A7
square
#787EE2 #E278B3 #E2DC78 #78E2A7
split-complementary
#787EE2 #E2A778 #B3E278
monochromatic
#2830B8 #464ED7 #787EE2 #AAAEED #DDDEF8

Accessibility & contrast

On white

3.57
#787EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#787EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787EE2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787EE2#FFFFFF#000000##000000
##787EE21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#568CE6
Deuteranopia (green-blind)
#4D84E0
Tritanopia (blue-blind)
#5293A5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #787ee2;
/* rgb */ color: rgb(120, 126, 226);
/* oklch */ color: oklch(63.4% 0.148 278.7);
Tailwind
colors: {
  custom: {
    50: '#a5a3eb',
    500: '#787ee2',
    950: '#000000',
  },
}
SCSS
$custom: #787ee2;
$custom-light: #a5a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#787ee2",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 236.604,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6341,
    "c": 0.14839,
    "h": 278.7
  },
  "luminance": 0.24406
}

Semantic roles & 50–950 ramp

primary
#787EE2
secondary
#EBE9CB
accent
#C219CC
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #787EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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