#787DE6#787DE6

#787DE6 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.5% C 0.155 H 278.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#787DE6
RGBrgb(120, 125, 230)
HSLhsl(237, 69%, 69%)
HSVhsv(237, 48%, 90%)
CMYKcmyk(47.8%, 45.7%, 0%, 9.8%)
CIE-LABlab(56.46, 25.67, -54.03)
CIE-LCHlch(56.46, 59.82, 295.41°)
OKLaboklab(63.46% 0.0241 -0.1534)
OKLCHoklch(63.46% 0.155 278.9)
XYZxyz(29.3579, 24.3719, 78.0049)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DE6 #E6E178
analogous
#78B4E6 #787DE6 #AA78E6
triadic
#787DE6 #E6787D #7DE678
tetradic
#787DE6 #E678B4 #E6E178 #78E6AA
square
#787DE6 #E678B4 #E6E178 #78E6AA
split-complementary
#787DE6 #E6AA78 #B4E678
monochromatic
#242BC0 #444BDC #787DE6 #ACAFF0 #DFE0F9

Accessibility & contrast

On white

3.57
#787DE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#787DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DE6
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DE6#FFFFFF#000000##000000
##787DE61.003.575.875.87
#FFFFFF3.571.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#518CEA
Deuteranopia (green-blind)
#4883E4
Tritanopia (blue-blind)
#4F93A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #787de6;
/* rgb */ color: rgb(120, 125, 230);
/* oklch */ color: oklch(63.5% 0.155 278.9);
Tailwind
colors: {
  custom: {
    50: '#a5a2ee',
    500: '#787de6',
    950: '#000000',
  },
}
SCSS
$custom: #787de6;
$custom-light: #a5a2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#787de6",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 230
  },
  "hsl": {
    "h": 237.273,
    "s": 68.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63457,
    "c": 0.15528,
    "h": 278.9
  },
  "luminance": 0.24373
}

Semantic roles & 50–950 ramp

primary
#787DE6
secondary
#EDECCC
accent
#C815D1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #787DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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