#787DE9#787DE9

#787DE9 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.6% C 0.159 H 278.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#787DE9
RGBrgb(120, 125, 233)
HSLhsl(237, 72%, 69%)
HSVhsv(237, 48%, 91%)
CMYKcmyk(48.5%, 46.4%, 0%, 8.6%)
CIE-LABlab(56.63, 26.56, -55.44)
CIE-LCHlch(56.63, 61.47, 295.60°)
OKLaboklab(63.64% 0.0245 -0.1575)
OKLCHoklch(63.64% 0.159 278.8)
XYZxyz(29.7828, 24.5418, 80.2427)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DE9 #E9E478
analogous
#78B6E9 #787DE9 #AC78E9
triadic
#787DE9 #E9787D #7DE978
tetradic
#787DE9 #E978B6 #E9E478 #78E9AC
square
#787DE9 #E978B6 #E9E478 #78E9AC
split-complementary
#787DE9 #E9AC78 #B6E978
monochromatic
#2028C6 #434AE0 #787DE9 #ADB0F2 #E1E2FA

Accessibility & contrast

On white

3.55
#787DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#787DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DE9
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DE9#FFFFFF#000000##000000
##787DE91.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8CED
Deuteranopia (green-blind)
#4584E7
Tritanopia (blue-blind)
#4D94A8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #787de9;
/* rgb */ color: rgb(120, 125, 233);
/* oklch */ color: oklch(63.6% 0.159 278.8);
Tailwind
colors: {
  custom: {
    50: '#a5a2f0',
    500: '#787de9',
    950: '#000000',
  },
}
SCSS
$custom: #787de9;
$custom-light: #a5a2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#787de9",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 233
  },
  "hsl": {
    "h": 237.345,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63638,
    "c": 0.15942,
    "h": 278.8
  },
  "luminance": 0.24543
}

Semantic roles & 50–950 ramp

primary
#787DE9
secondary
#EFEDCE
accent
#CB11D4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #787DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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