#787FE0#787FE0

#787FE0 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.5% C 0.144 H 278.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#787FE0
RGBrgb(120, 127, 224)
HSLhsl(236, 63%, 67%)
HSVhsv(236, 46%, 88%)
CMYKcmyk(46.4%, 43.3%, 0%, 12.2%)
CIE-LABlab(56.64, 22.69, -50.39)
CIE-LCHlch(56.64, 55.26, 294.24°)
OKLaboklab(63.49% 0.0209 -0.1427)
OKLCHoklch(63.49% 0.144 278.3)
XYZxyz(28.7855, 24.5521, 73.7288)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FE0 #E0D978
analogous
#78B3E0 #787FE0 #A578E0
triadic
#787FE0 #E0787F #7FE078
tetradic
#787FE0 #E078B3 #E0D978 #78E0A5
square
#787FE0 #E078B3 #E0D978 #78E0A5
split-complementary
#787FE0 #E0A578 #B3E078
monochromatic
#2933B4 #4650D5 #787FE0 #AAAEEB #DCDDF7

Accessibility & contrast

On white

3.55
#787FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#787FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FE0
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FE0#FFFFFF#000000##000000
##787FE01.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#598CE4
Deuteranopia (green-blind)
#5184DE
Tritanopia (blue-blind)
#5393A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #787fe0;
/* rgb */ color: rgb(120, 127, 224);
/* oklch */ color: oklch(63.5% 0.144 278.3);
Tailwind
colors: {
  custom: {
    50: '#a4a4ea',
    500: '#787fe0',
    950: '#000000',
  },
}
SCSS
$custom: #787fe0;
$custom-light: #a4a4ea;
$custom-dark: #000000;
JSON
{
  "hex": "#787fe0",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 224
  },
  "hsl": {
    "h": 235.962,
    "s": 62.651,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63486,
    "c": 0.14424,
    "h": 278.3
  },
  "luminance": 0.24554
}

Semantic roles & 50–950 ramp

primary
#787FE0
secondary
#EAE8CA
accent
#BF1BCA
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #787FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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