#787DE8#787DE8

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

Color values

HEX#787DE8
RGBrgb(120, 125, 232)
HSLhsl(237, 71%, 69%)
HSVhsv(237, 48%, 91%)
CMYKcmyk(48.3%, 46.1%, 0%, 9%)
CIE-LABlab(56.57, 26.26, -54.97)
CIE-LCHlch(56.57, 60.92, 295.54°)
OKLaboklab(63.58% 0.0244 -0.1561)
OKLCHoklch(63.58% 0.158 278.9)
XYZxyz(29.6404, 24.4849, 79.4925)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DE8 #E8E378
analogous
#78B5E8 #787DE8 #AB78E8
triadic
#787DE8 #E8787D #7DE878
tetradic
#787DE8 #E878B5 #E8E378 #78E8AB
square
#787DE8 #E878B5 #E8E378 #78E8AB
split-complementary
#787DE8 #E8AB78 #B5E878
monochromatic
#2129C4 #444BDF #787DE8 #ACAFF1 #E1E2FA

Accessibility & contrast

On white

3.56
#787DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#787DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DE8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DE8#FFFFFF#000000##000000
##787DE81.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8CEC
Deuteranopia (green-blind)
#4683E6
Tritanopia (blue-blind)
#4E94A7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #787de8;
/* rgb */ color: rgb(120, 125, 232);
/* oklch */ color: oklch(63.6% 0.158 278.9);
Tailwind
colors: {
  custom: {
    50: '#a5a2f0',
    500: '#787de8',
    950: '#000000',
  },
}
SCSS
$custom: #787de8;
$custom-light: #a5a2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#787de8",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 232
  },
  "hsl": {
    "h": 237.321,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63577,
    "c": 0.15804,
    "h": 278.9
  },
  "luminance": 0.24486
}

Semantic roles & 50–950 ramp

primary
#787DE8
secondary
#EEEDCD
accent
#CA13D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #787DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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