#787DE0#787DE0

#787DE0 is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.1% C 0.147 H 279.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#787DE0
RGBrgb(120, 125, 224)
HSLhsl(237, 63%, 67%)
HSVhsv(237, 46%, 88%)
CMYKcmyk(46.4%, 44.2%, 0%, 12.2%)
CIE-LABlab(56.13, 23.88, -51.20)
CIE-LCHlch(56.13, 56.49, 295.00°)
OKLaboklab(63.1% 0.0233 -0.1451)
OKLCHoklch(63.1% 0.147 279.1)
XYZxyz(28.5298, 24.0406, 73.6436)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DE0 #E0DB78
analogous
#78B1E0 #787DE0 #A778E0
triadic
#787DE0 #E0787D #7DE078
tetradic
#787DE0 #E078B1 #E0DB78 #78E0A7
square
#787DE0 #E078B1 #E0DB78 #78E0A7
split-complementary
#787DE0 #E0A778 #B1E078
monochromatic
#2930B4 #464DD5 #787DE0 #AAADEB #DCDDF7

Accessibility & contrast

On white

3.62
#787DE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#787DE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DE0
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DE0#FFFFFF#000000##000000
##787DE01.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#558BE4
Deuteranopia (green-blind)
#4E83DE
Tritanopia (blue-blind)
#5392A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #787de0;
/* rgb */ color: rgb(120, 125, 224);
/* oklch */ color: oklch(63.1% 0.147 279.1);
Tailwind
colors: {
  custom: {
    50: '#a4a2ea',
    500: '#787de0',
    950: '#000000',
  },
}
SCSS
$custom: #787de0;
$custom-light: #a4a2ea;
$custom-dark: #000000;
JSON
{
  "hex": "#787de0",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 224
  },
  "hsl": {
    "h": 237.115,
    "s": 62.651,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63099,
    "c": 0.14696,
    "h": 279.1
  },
  "luminance": 0.24042
}

Semantic roles & 50–950 ramp

primary
#787DE0
secondary
#EAE9CA
accent
#C21BCA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #787DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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