#787DE7#787DE7

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

Color values

HEX#787DE7
RGBrgb(120, 125, 231)
HSLhsl(237, 70%, 69%)
HSVhsv(237, 48%, 91%)
CMYKcmyk(48.1%, 45.9%, 0%, 9.4%)
CIE-LABlab(56.51, 25.97, -54.50)
CIE-LCHlch(56.51, 60.37, 295.47°)
OKLaboklab(63.52% 0.0243 -0.1548)
OKLCHoklch(63.52% 0.157 278.9)
XYZxyz(29.4987, 24.4282, 78.7466)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DE7 #E7E278
analogous
#78B5E7 #787DE7 #AB78E7
triadic
#787DE7 #E7787D #7DE778
tetradic
#787DE7 #E778B5 #E7E278 #78E7AB
square
#787DE7 #E778B5 #E7E278 #78E7AB
split-complementary
#787DE7 #E7AB78 #B5E778
monochromatic
#232AC2 #444BDE #787DE7 #ACAFF0 #E0E1F9

Accessibility & contrast

On white

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

On black

5.89
#787DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DE7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DE7#FFFFFF#000000##000000
##787DE71.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#508CEB
Deuteranopia (green-blind)
#4783E5
Tritanopia (blue-blind)
#4F94A7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #787de7;
/* rgb */ color: rgb(120, 125, 231);
/* oklch */ color: oklch(63.5% 0.157 278.9);
Tailwind
colors: {
  custom: {
    50: '#a5a2ef',
    500: '#787de7',
    950: '#000000',
  },
}
SCSS
$custom: #787de7;
$custom-light: #a5a2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#787de7",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 231
  },
  "hsl": {
    "h": 237.297,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63517,
    "c": 0.15666,
    "h": 278.9
  },
  "luminance": 0.2443
}

Semantic roles & 50–950 ramp

primary
#787DE7
secondary
#EEECCD
accent
#C914D2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #787DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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