#787FF9#787FF9

#787FF9 is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.0% C 0.179 H 277.7°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#787FF9
RGBrgb(120, 127, 249)
HSLhsl(237, 91%, 72%)
HSVhsv(237, 52%, 98%)
CMYKcmyk(51.8%, 49%, 0%, 2.4%)
CIE-LABlab(58.05, 30.22, -62.04)
CIE-LCHlch(58.05, 69.01, 295.97°)
OKLaboklab(65.01% 0.024 -0.1769)
OKLCHoklch(65.01% 0.179 277.7)
XYZxyz(32.4286, 26.0094, 92.9157)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FF9 #F9F278
analogous
#78C0F9 #787FF9 #B178F9
triadic
#787FF9 #F9787F #7FF978
tetradic
#787FF9 #F978C0 #F9F278 #78F9B1
square
#787FF9 #F978C0 #F9F278 #78F9B1
split-complementary
#787FF9 #F9B178 #C0F978
monochromatic
#0A17EC #3D47F6 #787FF9 #B3B7FC #E2E3FE

Accessibility & contrast

On white

3.39
#787FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#787FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FF9
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FF9#FFFFFF#000000##000000
##787FF91.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4491FD
Deuteranopia (green-blind)
#3586F6
Tritanopia (blue-blind)
#3F9AB0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #787ff9;
/* rgb */ color: rgb(120, 127, 249);
/* oklch */ color: oklch(65.0% 0.179 277.7);
Tailwind
colors: {
  custom: {
    50: '#a7a4fc',
    500: '#787ff9',
    950: '#000000',
  },
}
SCSS
$custom: #787ff9;
$custom-light: #a7a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#787ff9",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 236.744,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65009,
    "c": 0.17852,
    "h": 277.7
  },
  "luminance": 0.26011
}

Semantic roles & 50–950 ramp

primary
#787FF9
secondary
#F6F4D5
accent
#D900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #787FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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