#787CD8#787CD8

#787CD8 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.4% C 0.137 H 279.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#787CD8
RGBrgb(120, 124, 216)
HSLhsl(238, 55%, 66%)
HSVhsv(238, 44%, 85%)
CMYKcmyk(44.4%, 42.6%, 0%, 15.3%)
CIE-LABlab(55.45, 22.12, -47.79)
CIE-LCHlch(55.45, 52.66, 294.84°)
OKLaboklab(62.44% 0.0232 -0.1351)
OKLCHoklch(62.44% 0.137 279.8)
XYZxyz(27.3443, 23.3649, 68.0215)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CD8 #D8D478
analogous
#78ACD8 #787CD8 #A478D8
triadic
#787CD8 #D8787C #7CD878
tetradic
#787CD8 #D878AC #D8D478 #78D8A4
square
#787CD8 #D878AC #D8D478 #78D8A4
split-complementary
#787CD8 #D8A478 #ACD878
monochromatic
#3035A6 #494ECA #787CD8 #A7AAE6 #D7D8F3

Accessibility & contrast

On white

3.70
#787CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#787CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CD8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CD8#FFFFFF#000000##000000
##787CD81.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5988DB
Deuteranopia (green-blind)
#5381D6
Tritanopia (blue-blind)
#588F9F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #787cd8;
/* rgb */ color: rgb(120, 124, 216);
/* oklch */ color: oklch(62.4% 0.137 279.8);
Tailwind
colors: {
  custom: {
    50: '#a4a1e4',
    500: '#787cd8',
    950: '#000000',
  },
}
SCSS
$custom: #787cd8;
$custom-light: #a4a1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#787cd8",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 237.5,
    "s": 55.172,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62441,
    "c": 0.1371,
    "h": 279.8
  },
  "luminance": 0.23366
}

Semantic roles & 50–950 ramp

primary
#787CD8
secondary
#E6E4C6
accent
#BC23C3
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#0F0F16
muted
#7F7E84

Preview Lab

Preview with #787CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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