#787FF0#787FF0

#787FF0 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.4% C 0.166 H 278.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#787FF0
RGBrgb(120, 127, 240)
HSLhsl(237, 80%, 71%)
HSVhsv(237, 50%, 94%)
CMYKcmyk(50%, 47.1%, 0%, 5.9%)
CIE-LABlab(57.52, 27.48, -57.90)
CIE-LCHlch(57.52, 64.09, 295.39°)
OKLaboklab(64.44% 0.0231 -0.1647)
OKLCHoklch(64.44% 0.166 278)
XYZxyz(31.0584, 25.4613, 85.6991)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FF0 #F0E978
analogous
#78BBF0 #787FF0 #AD78F0
triadic
#787FF0 #F0787F #7FF078
tetradic
#787FF0 #F078BB #F0E978 #78F0AD
square
#787FF0 #F078BB #F0E978 #78F0AD
split-complementary
#787FF0 #F0AD78 #BBF078
monochromatic
#1823D6 #414BEA #787FF0 #AFB3F6 #E3E5FC

Accessibility & contrast

On white

3.45
#787FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#787FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FF0
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FF0#FFFFFF#000000##000000
##787FF01.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8FF4
Deuteranopia (green-blind)
#4186EE
Tritanopia (blue-blind)
#4797AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #787ff0;
/* rgb */ color: rgb(120, 127, 240);
/* oklch */ color: oklch(64.4% 0.166 278.0);
Tailwind
colors: {
  custom: {
    50: '#a6a4f5',
    500: '#787ff0',
    950: '#000000',
  },
}
SCSS
$custom: #787ff0;
$custom-light: #a6a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#787ff0",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 240
  },
  "hsl": {
    "h": 236.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64445,
    "c": 0.16634,
    "h": 278
  },
  "luminance": 0.25463
}

Semantic roles & 50–950 ramp

primary
#787FF0
secondary
#F2F0D2
accent
#D009DC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #787FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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