#787DE2#787DE2

#787DE2 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.2% C 0.150 H 279.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#787DE2
RGBrgb(120, 125, 226)
HSLhsl(237, 65%, 68%)
HSVhsv(237, 47%, 89%)
CMYKcmyk(46.9%, 44.7%, 0%, 11.4%)
CIE-LABlab(56.24, 24.47, -52.15)
CIE-LCHlch(56.24, 57.60, 295.14°)
OKLaboklab(63.22% 0.0236 -0.1479)
OKLCHoklch(63.22% 0.15 279.1)
XYZxyz(28.8026, 24.1498, 75.0805)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DE2 #E2DD78
analogous
#78B2E2 #787DE2 #A878E2
triadic
#787DE2 #E2787D #7DE278
tetradic
#787DE2 #E278B2 #E2DD78 #78E2A8
square
#787DE2 #E278B2 #E2DD78 #78E2A8
split-complementary
#787DE2 #E2A878 #B2E278
monochromatic
#282EB8 #464CD7 #787DE2 #AAAEED #DDDEF8

Accessibility & contrast

On white

3.60
#787DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#787DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DE2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DE2#FFFFFF#000000##000000
##787DE21.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#548BE6
Deuteranopia (green-blind)
#4C83E0
Tritanopia (blue-blind)
#5292A5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #787de2;
/* rgb */ color: rgb(120, 125, 226);
/* oklch */ color: oklch(63.2% 0.150 279.1);
Tailwind
colors: {
  custom: {
    50: '#a5a2eb',
    500: '#787de2',
    950: '#000000',
  },
}
SCSS
$custom: #787de2;
$custom-light: #a5a2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#787de2",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 237.17,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63217,
    "c": 0.14974,
    "h": 279.1
  },
  "luminance": 0.24151
}

Semantic roles & 50–950 ramp

primary
#787DE2
secondary
#EBEACB
accent
#C419CC
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #787DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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