#787FFD#787FFD

#787FFD is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.3% C 0.184 H 277.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#787FFD
RGBrgb(120, 127, 253)
HSLhsl(237, 97%, 73%)
HSVhsv(237, 53%, 99%)
CMYKcmyk(52.6%, 49.8%, 0%, 0.8%)
CIE-LABlab(58.28, 31.44, -63.86)
CIE-LCHlch(58.28, 71.18, 296.21°)
OKLaboklab(65.27% 0.0244 -0.1822)
OKLCHoklch(65.27% 0.184 277.6)
XYZxyz(33.0591, 26.2616, 96.2364)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FFD #FDF678
analogous
#78C1FD #787FFD #B378FD
triadic
#787FFD #FD787F #7FFD78
tetradic
#787FFD #FD78C1 #FDF678 #78FDB3
square
#787FFD #FD78C1 #FDF678 #78FDB3
split-complementary
#787FFD #FDB378 #C1FD78
monochromatic
#0410F7 #3C46FC #787FFD #B4B8FE #E1E2FF

Accessibility & contrast

On white

3.36
#787FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#787FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FFD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FFD#FFFFFF#000000##000000
##787FFD1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#2E87FA
Tritanopia (blue-blind)
#3B9BB2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #787ffd;
/* rgb */ color: rgb(120, 127, 253);
/* oklch */ color: oklch(65.3% 0.184 277.6);
Tailwind
colors: {
  custom: {
    50: '#a8a4ff',
    500: '#787ffd',
    950: '#000000',
  },
}
SCSS
$custom: #787ffd;
$custom-light: #a8a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#787ffd",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 236.842,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65266,
    "c": 0.18387,
    "h": 277.6
  },
  "luminance": 0.26264
}

Semantic roles & 50–950 ramp

primary
#787FFD
secondary
#F7F5D4
accent
#D900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #787FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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