#787CFA#787CFA

#787CFA is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.5% C 0.184 H 278.5°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#787CFA
RGBrgb(120, 124, 250)
HSLhsl(238, 93%, 73%)
HSVhsv(238, 52%, 98%)
CMYKcmyk(52%, 50.4%, 0%, 2%)
CIE-LABlab(57.37, 32.30, -63.67)
CIE-LCHlch(57.37, 71.39, 296.90°)
OKLaboklab(64.52% 0.0273 -0.1817)
OKLCHoklch(64.52% 0.184 278.5)
XYZxyz(32.2033, 25.3085, 93.6121)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CFA #FAF678
analogous
#78BDFA #787CFA #B578FA
triadic
#787CFA #FA787C #7CFA78
tetradic
#787CFA #FA78BD #FAF678 #78FAB5
square
#787CFA #FA78BD #FAF678 #78FAB5
split-complementary
#787CFA #FAB578 #BDFA78
monochromatic
#0910EF #3D43F8 #787CFA #B3B5FC #E1E2FE

Accessibility & contrast

On white

3.46
#787CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#787CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CFA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CFA#FFFFFF#000000##000000
##787CFA1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8FFE
Deuteranopia (green-blind)
#2B85F7
Tritanopia (blue-blind)
#3F98AF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #787cfa;
/* rgb */ color: rgb(120, 124, 250);
/* oklch */ color: oklch(64.5% 0.184 278.5);
Tailwind
colors: {
  custom: {
    50: '#a7a1fd',
    500: '#787cfa',
    950: '#000000',
  },
}
SCSS
$custom: #787cfa;
$custom-light: #a7a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#787cfa",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 238.154,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64523,
    "c": 0.18375,
    "h": 278.5
  },
  "luminance": 0.25311
}

Semantic roles & 50–950 ramp

primary
#787CFA
secondary
#F6F5D5
accent
#DE00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F18
muted
#7F7E86

Preview Lab

Preview with #787CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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