#787CDE#787CDE

#787CDE is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.8% C 0.146 H 279.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#787CDE
RGBrgb(120, 124, 222)
HSLhsl(238, 61%, 67%)
HSVhsv(238, 46%, 87%)
CMYKcmyk(45.9%, 44.1%, 0%, 12.9%)
CIE-LABlab(55.77, 23.88, -50.65)
CIE-LCHlch(55.77, 56.00, 295.24°)
OKLaboklab(62.79% 0.0242 -0.1435)
OKLCHoklch(62.79% 0.146 279.6)
XYZxyz(28.1342, 23.6809, 72.1815)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CDE #DEDA78
analogous
#78AFDE #787CDE #A778DE
triadic
#787CDE #DE787C #7CDE78
tetradic
#787CDE #DE78AF #DEDA78 #78DEA7
square
#787CDE #DE78AF #DEDA78 #78DEA7
split-complementary
#787CDE #DEA778 #AFDE78
monochromatic
#2B30B0 #474CD2 #787CDE #A9ACEA #DADBF6

Accessibility & contrast

On white

3.66
#787CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#787CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CDE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CDE#FFFFFF#000000##000000
##787CDE1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#558AE2
Deuteranopia (green-blind)
#4E82DC
Tritanopia (blue-blind)
#5590A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #787cde;
/* rgb */ color: rgb(120, 124, 222);
/* oklch */ color: oklch(62.8% 0.146 279.6);
Tailwind
colors: {
  custom: {
    50: '#a4a1e9',
    500: '#787cde',
    950: '#000000',
  },
}
SCSS
$custom: #787cde;
$custom-light: #a4a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#787cde",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 222
  },
  "hsl": {
    "h": 237.647,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62789,
    "c": 0.14553,
    "h": 279.6
  },
  "luminance": 0.23682
}

Semantic roles & 50–950 ramp

primary
#787CDE
secondary
#E9E8C9
accent
#C21DC8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #787CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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