#787FE2#787FE2

#787FE2 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.6% C 0.147 H 278.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#787FE2
RGBrgb(120, 127, 226)
HSLhsl(236, 65%, 68%)
HSVhsv(236, 47%, 89%)
CMYKcmyk(46.9%, 43.8%, 0%, 11.4%)
CIE-LABlab(56.74, 23.28, -51.34)
CIE-LCHlch(56.74, 56.37, 294.39°)
OKLaboklab(63.6% 0.0212 -0.1455)
OKLCHoklch(63.6% 0.147 278.3)
XYZxyz(29.0584, 24.6613, 75.1657)
Luminance0.2466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FE2 #E2DB78
analogous
#78B4E2 #787FE2 #A678E2
triadic
#787FE2 #E2787F #7FE278
tetradic
#787FE2 #E278B4 #E2DB78 #78E2A6
square
#787FE2 #E278B4 #E2DB78 #78E2A6
split-complementary
#787FE2 #E2A678 #B4E278
monochromatic
#2831B8 #464FD7 #787FE2 #AAAFED #DDDFF8

Accessibility & contrast

On white

3.54
#787FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#787FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FE2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FE2#FFFFFF#000000##000000
##787FE21.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#578CE6
Deuteranopia (green-blind)
#4F84E0
Tritanopia (blue-blind)
#5294A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #787fe2;
/* rgb */ color: rgb(120, 127, 226);
/* oklch */ color: oklch(63.6% 0.147 278.3);
Tailwind
colors: {
  custom: {
    50: '#a4a4eb',
    500: '#787fe2',
    950: '#000000',
  },
}
SCSS
$custom: #787fe2;
$custom-light: #a4a4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#787fe2",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 236.038,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63602,
    "c": 0.14704,
    "h": 278.3
  },
  "luminance": 0.24663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #787FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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