#787FDE#787FDE

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

Color values

HEX#787FDE
RGBrgb(120, 127, 222)
HSLhsl(236, 61%, 67%)
HSVhsv(236, 46%, 87%)
CMYKcmyk(45.9%, 42.8%, 0%, 12.9%)
CIE-LABlab(56.53, 22.09, -49.44)
CIE-LCHlch(56.53, 54.15, 294.08°)
OKLaboklab(63.37% 0.0206 -0.1399)
OKLCHoklch(63.37% 0.141 278.4)
XYZxyz(28.5159, 24.4443, 72.3087)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FDE #DED778
analogous
#78B2DE #787FDE #A478DE
triadic
#787FDE #DE787F #7FDE78
tetradic
#787FDE #DE78B2 #DED778 #78DEA4
square
#787FDE #DE78B2 #DED778 #78DEA4
split-complementary
#787FDE #DEA478 #B2DE78
monochromatic
#2B34B0 #4750D2 #787FDE #A9AEEA #DADCF6

Accessibility & contrast

On white

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

On black

5.89
#787FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FDE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FDE#FFFFFF#000000##000000
##787FDE1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE2
Deuteranopia (green-blind)
#5284DC
Tritanopia (blue-blind)
#5493A4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #787fde;
/* rgb */ color: rgb(120, 127, 222);
/* oklch */ color: oklch(63.4% 0.141 278.4);
Tailwind
colors: {
  custom: {
    50: '#a4a4e9',
    500: '#787fde',
    950: '#000000',
  },
}
SCSS
$custom: #787fde;
$custom-light: #a4a4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#787fde",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 235.882,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6337,
    "c": 0.14144,
    "h": 278.4
  },
  "luminance": 0.24446
}

Semantic roles & 50–950 ramp

primary
#787FDE
secondary
#E9E7C9
accent
#BD1DC8
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #787FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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