#787DD2#787DD2

#787DD2 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.3% C 0.127 H 279.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#787DD2
RGBrgb(120, 125, 210)
HSLhsl(237, 50%, 65%)
HSVhsv(237, 43%, 82%)
CMYKcmyk(42.9%, 40.5%, 0%, 17.6%)
CIE-LABlab(55.39, 19.77, -44.49)
CIE-LCHlch(55.39, 48.69, 293.96°)
OKLaboklab(62.3% 0.0209 -0.1255)
OKLCHoklch(62.3% 0.127 279.5)
XYZxyz(26.7087, 23.3122, 64.0527)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DD2 #D2CD78
analogous
#78AAD2 #787DD2 #A078D2
triadic
#787DD2 #D2787D #7DD278
tetradic
#787DD2 #D278AA #D2CD78 #78D2A0
square
#787DD2 #D278AA #D2CD78 #78D2A0
split-complementary
#787DD2 #D2A078 #AAD278
monochromatic
#343A9C #4A51C3 #787DD2 #A6A9E1 #D4D5F1

Accessibility & contrast

On white

3.71
#787DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#787DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DD2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DD2#FFFFFF#000000##000000
##787DD21.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E88D5
Deuteranopia (green-blind)
#5881D0
Tritanopia (blue-blind)
#5B8E9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #787dd2;
/* rgb */ color: rgb(120, 125, 210);
/* oklch */ color: oklch(62.3% 0.127 279.5);
Tailwind
colors: {
  custom: {
    50: '#a3a2e0',
    500: '#787dd2',
    950: '#000000',
  },
}
SCSS
$custom: #787dd2;
$custom-light: #a3a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#787dd2",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 236.667,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62299,
    "c": 0.12721,
    "h": 279.5
  },
  "luminance": 0.23313
}

Semantic roles & 50–950 ramp

primary
#787DD2
secondary
#E2E1C3
accent
#B528BD
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83

Preview Lab

Preview with #787DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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