#787EFF#787EFF

#787EFF is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.2% C 0.188 H 277.8°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#787EFF
RGBrgb(120, 126, 255)
HSLhsl(237, 100%, 74%)
HSVhsv(237, 53%, 100%)
CMYKcmyk(52.9%, 50.6%, 0%, 0%)
CIE-LABlab(58.16, 32.64, -65.16)
CIE-LCHlch(58.16, 72.88, 296.61°)
OKLaboklab(65.21% 0.0256 -0.1861)
OKLCHoklch(65.21% 0.188 277.8)
XYZxyz(33.2509, 26.1327, 97.8803)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787EFF #FFF978
analogous
#78C1FF #787EFF #B578FF
triadic
#787EFF #FF787E #7EFF78
tetradic
#787EFF #FF78C1 #FFF978 #78FFB5
square
#787EFF #FF78C1 #FFF978 #78FFB5
split-complementary
#787EFF #FFB578 #C1FF78
monochromatic
#000BFD #3B44FF #787EFF #B5B8FF #E0E2FF

Accessibility & contrast

On white

3.37
#787EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#787EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787EFF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787EFF#FFFFFF#000000##000000
##787EFF1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B91FF
Deuteranopia (green-blind)
#2786FC
Tritanopia (blue-blind)
#399BB3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #787eff;
/* rgb */ color: rgb(120, 126, 255);
/* oklch */ color: oklch(65.2% 0.188 277.8);
Tailwind
colors: {
  custom: {
    50: '#a8a3ff',
    500: '#787eff',
    950: '#000000',
  },
}
SCSS
$custom: #787eff;
$custom-light: #a8a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#787eff",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 237.333,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.65213,
    "c": 0.18783,
    "h": 277.8
  },
  "luminance": 0.26135
}

Semantic roles & 50–950 ramp

primary
#787EFF
secondary
#F7F6D4
accent
#DB00E6
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #787EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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