#787FFA#787FFA

#787FFA is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.1% C 0.180 H 277.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#787FFA
RGBrgb(120, 127, 250)
HSLhsl(237, 93%, 73%)
HSVhsv(237, 52%, 98%)
CMYKcmyk(52%, 49.2%, 0%, 2%)
CIE-LABlab(58.11, 30.52, -62.49)
CIE-LCHlch(58.11, 69.55, 296.03°)
OKLaboklab(65.07% 0.0241 -0.1782)
OKLCHoklch(65.07% 0.18 277.7)
XYZxyz(32.5850, 26.0719, 93.7393)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FFA #FAF378
analogous
#78C0FA #787FFA #B278FA
triadic
#787FFA #FA787F #7FFA78
tetradic
#787FFA #FA78C0 #FAF378 #78FAB2
square
#787FFA #FA78C0 #FAF378 #78FAB2
split-complementary
#787FFA #FAB278 #C0FA78
monochromatic
#0915EF #3D47F8 #787FFA #B3B7FC #E1E3FE

Accessibility & contrast

On white

3.38
#787FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#787FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FFA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FFA#FFFFFF#000000##000000
##787FFA1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FE
Deuteranopia (green-blind)
#3387F7
Tritanopia (blue-blind)
#3E9AB1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #787ffa;
/* rgb */ color: rgb(120, 127, 250);
/* oklch */ color: oklch(65.1% 0.180 277.7);
Tailwind
colors: {
  custom: {
    50: '#a7a4fd',
    500: '#787ffa',
    950: '#000000',
  },
}
SCSS
$custom: #787ffa;
$custom-light: #a7a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#787ffa",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 236.769,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65073,
    "c": 0.17986,
    "h": 277.7
  },
  "luminance": 0.26074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #787FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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