#787FC9#787FC9

#787FC9 is a light, moderate blue. Relative luminance 0.234; OKLCH L 62.2% C 0.112 H 278.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#787FC9
RGBrgb(120, 127, 201)
HSLhsl(235, 43%, 63%)
HSVhsv(235, 40%, 79%)
CMYKcmyk(40.3%, 36.8%, 0%, 21.2%)
CIE-LABlab(55.47, 15.99, -39.27)
CIE-LCHlch(55.47, 42.40, 292.16°)
OKLaboklab(62.21% 0.0165 -0.1103)
OKLCHoklch(62.21% 0.112 278.5)
XYZxyz(25.8746, 23.3878, 58.3980)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FC9 #C9C278
analogous
#78A7C9 #787FC9 #9978C9
triadic
#787FC9 #C9787F #7FC978
tetradic
#787FC9 #C978A7 #C9C278 #78C999
square
#787FC9 #C978A7 #C9C278 #78C999
split-complementary
#787FC9 #C99978 #A7C978
monochromatic
#39408E #4C56B8 #787FC9 #A4A8DA #CFD2EC

Accessibility & contrast

On white

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

On black

5.68
#787FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FC9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FC9#FFFFFF#000000##000000
##787FC91.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6688CC
Deuteranopia (green-blind)
#6182C7
Tritanopia (blue-blind)
#5F8E9A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #787fc9;
/* rgb */ color: rgb(120, 127, 201);
/* oklch */ color: oklch(62.2% 0.112 278.5);
Tailwind
colors: {
  custom: {
    50: '#a2a4da',
    500: '#787fc9',
    950: '#000000',
  },
}
SCSS
$custom: #787fc9;
$custom-light: #a2a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#787fc9",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 201
  },
  "hsl": {
    "h": 234.815,
    "s": 42.857,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62213,
    "c": 0.11151,
    "h": 278.5
  },
  "luminance": 0.23389
}

Semantic roles & 50–950 ramp

primary
#787FC9
secondary
#DDDAC0
accent
#AA30B6
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #787FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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