#787CED#787CED

#787CED is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.7% C 0.166 H 279.0°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#787CED
RGBrgb(120, 124, 237)
HSLhsl(238, 76%, 70%)
HSVhsv(238, 49%, 93%)
CMYKcmyk(49.4%, 47.7%, 0%, 7.1%)
CIE-LABlab(56.61, 28.36, -57.70)
CIE-LCHlch(56.61, 64.29, 296.18°)
OKLaboklab(63.7% 0.0261 -0.1642)
OKLCHoklch(63.7% 0.166 279)
XYZxyz(30.2347, 24.5211, 83.2442)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CED #EDE978
analogous
#78B6ED #787CED #AF78ED
triadic
#787CED #ED787C #7CED78
tetradic
#787CED #ED78B6 #EDE978 #78EDAF
square
#787CED #ED78B6 #EDE978 #78EDAF
split-complementary
#787CED #EDAF78 #B6ED78
monochromatic
#1C22CF #4248E6 #787CED #AEB0F4 #E4E5FB

Accessibility & contrast

On white

3.56
#787CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#787CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CED
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CED#FFFFFF#000000##000000
##787CED1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF1
Deuteranopia (green-blind)
#3F83EB
Tritanopia (blue-blind)
#4A94A9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #787ced;
/* rgb */ color: rgb(120, 124, 237);
/* oklch */ color: oklch(63.7% 0.166 279.0);
Tailwind
colors: {
  custom: {
    50: '#a6a1f3',
    500: '#787ced',
    950: '#000000',
  },
}
SCSS
$custom: #787ced;
$custom-light: #a6a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#787ced",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 237.949,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.63696,
    "c": 0.16622,
    "h": 279
  },
  "luminance": 0.24523
}

Semantic roles & 50–950 ramp

primary
#787CED
secondary
#F1F0D0
accent
#D20DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #787CED

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

Preview Lab → · Contrast checker → · Palette generator →

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