#787CD1#787CD1

#787CD1 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.0% C 0.127 H 280.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#787CD1
RGBrgb(120, 124, 209)
HSLhsl(237, 49%, 65%)
HSVhsv(237, 43%, 82%)
CMYKcmyk(42.6%, 40.7%, 0%, 18%)
CIE-LABlab(55.08, 20.08, -44.41)
CIE-LCHlch(55.08, 48.74, 294.33°)
OKLaboklab(62.05% 0.022 -0.1253)
OKLCHoklch(62.05% 0.127 280)
XYZxyz(26.4586, 23.0106, 63.3566)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CD1 #D1CD78
analogous
#78A9D1 #787CD1 #A078D1
triadic
#787CD1 #D1787C #7CD178
tetradic
#787CD1 #D178A9 #D1CD78 #78D1A0
square
#787CD1 #D178A9 #D1CD78 #78D1A0
split-complementary
#787CD1 #D1A078 #A9D178
monochromatic
#35399A #4A50C1 #787CD1 #A6A8E1 #D3D5F0

Accessibility & contrast

On white

3.75
#787CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#787CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CD1
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CD1#FFFFFF#000000##000000
##787CD11.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D87D4
Deuteranopia (green-blind)
#5881CF
Tritanopia (blue-blind)
#5C8D9C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #787cd1;
/* rgb */ color: rgb(120, 124, 209);
/* oklch */ color: oklch(62.0% 0.127 280.0);
Tailwind
colors: {
  custom: {
    50: '#a3a1df',
    500: '#787cd1',
    950: '#000000',
  },
}
SCSS
$custom: #787cd1;
$custom-light: #a3a1df;
$custom-dark: #000000;
JSON
{
  "hex": "#787cd1",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 209
  },
  "hsl": {
    "h": 237.303,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62046,
    "c": 0.12718,
    "h": 280
  },
  "luminance": 0.23012
}

Semantic roles & 50–950 ramp

primary
#787CD1
secondary
#E2E0C3
accent
#B629BC
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83

Preview Lab

Preview with #787CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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