#787DDE#787DDE

#787DDE is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.0% C 0.144 H 279.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#787DDE
RGBrgb(120, 125, 222)
HSLhsl(237, 61%, 67%)
HSVhsv(237, 46%, 87%)
CMYKcmyk(45.9%, 43.7%, 0%, 12.9%)
CIE-LABlab(56.02, 23.29, -50.25)
CIE-LCHlch(56.02, 55.38, 294.86°)
OKLaboklab(62.98% 0.023 -0.1423)
OKLCHoklch(62.98% 0.144 279.2)
XYZxyz(28.2602, 23.9328, 72.2235)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DDE #DED978
analogous
#78B0DE #787DDE #A678DE
triadic
#787DDE #DE787D #7DDE78
tetradic
#787DDE #DE78B0 #DED978 #78DEA6
square
#787DDE #DE78B0 #DED978 #78DEA6
split-complementary
#787DDE #DEA678 #B0DE78
monochromatic
#2B32B0 #474ED2 #787DDE #A9ACEA #DADCF6

Accessibility & contrast

On white

3.63
#787DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#787DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DDE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DDE#FFFFFF#000000##000000
##787DDE1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE2
Deuteranopia (green-blind)
#4F83DC
Tritanopia (blue-blind)
#5491A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #787dde;
/* rgb */ color: rgb(120, 125, 222);
/* oklch */ color: oklch(63.0% 0.144 279.2);
Tailwind
colors: {
  custom: {
    50: '#a4a2e9',
    500: '#787dde',
    950: '#000000',
  },
}
SCSS
$custom: #787dde;
$custom-light: #a4a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#787dde",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 237.059,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62982,
    "c": 0.14416,
    "h": 279.2
  },
  "luminance": 0.23934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #787DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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