#787FFC#787FFC

#787FFC is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.2% C 0.183 H 277.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#787FFC
RGBrgb(120, 127, 252)
HSLhsl(237, 96%, 73%)
HSVhsv(237, 52%, 99%)
CMYKcmyk(52.4%, 49.6%, 0%, 1.2%)
CIE-LABlab(58.22, 31.13, -63.40)
CIE-LCHlch(58.22, 70.64, 296.15°)
OKLaboklab(65.2% 0.0243 -0.1809)
OKLCHoklch(65.2% 0.183 277.6)
XYZxyz(32.9003, 26.1980, 95.3997)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FFC #FCF578
analogous
#78C1FC #787FFC #B378FC
triadic
#787FFC #FC787F #7FFC78
tetradic
#787FFC #FC78C1 #FCF578 #78FCB3
square
#787FFC #FC78C1 #FCF578 #78FCB3
split-complementary
#787FFC #FCB378 #C1FC78
monochromatic
#0512F4 #3C46FB #787FFC #B4B8FD #E1E3FE

Accessibility & contrast

On white

3.37
#787FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#787FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FFC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FFC#FFFFFF#000000##000000
##787FFC1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FF
Deuteranopia (green-blind)
#3087F9
Tritanopia (blue-blind)
#3C9BB2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #787ffc;
/* rgb */ color: rgb(120, 127, 252);
/* oklch */ color: oklch(65.2% 0.183 277.6);
Tailwind
colors: {
  custom: {
    50: '#a7a4fe',
    500: '#787ffc',
    950: '#000000',
  },
}
SCSS
$custom: #787ffc;
$custom-light: #a7a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#787ffc",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 236.818,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65201,
    "c": 0.18254,
    "h": 277.6
  },
  "luminance": 0.262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #787FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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