#787AED#787AED

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

Color values

HEX#787AED
RGBrgb(120, 122, 237)
HSLhsl(239, 76%, 70%)
HSVhsv(239, 49%, 93%)
CMYKcmyk(49.4%, 48.5%, 0%, 7.1%)
CIE-LABlab(56.11, 29.55, -58.49)
CIE-LCHlch(56.11, 65.53, 296.81°)
OKLaboklab(63.32% 0.0284 -0.1665)
OKLCHoklch(63.32% 0.169 279.7)
XYZxyz(29.9866, 24.0249, 83.1615)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787AED #EDEB78
analogous
#78B5ED #787AED #B078ED
triadic
#787AED #ED787A #7AED78
tetradic
#787AED #ED78B5 #EDEB78 #78EDB0
square
#787AED #ED78B5 #EDEB78 #78EDB0
split-complementary
#787AED #EDB078 #B5ED78
monochromatic
#1C1FCF #4245E6 #787AED #AEAFF4 #E4E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##787AED#FFFFFF#000000##000000
##787AED1.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)
#458BF1
Deuteranopia (green-blind)
#3B82EA
Tritanopia (blue-blind)
#4B93A8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #787aed;
/* rgb */ color: rgb(120, 122, 237);
/* oklch */ color: oklch(63.3% 0.169 279.7);
Tailwind
colors: {
  custom: {
    50: '#a6a0f3',
    500: '#787aed',
    950: '#000000',
  },
}
SCSS
$custom: #787aed;
$custom-light: #a6a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#787aed",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 238.974,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.63324,
    "c": 0.1689,
    "h": 279.7
  },
  "luminance": 0.24027
}

Semantic roles & 50–950 ramp

primary
#787AED
secondary
#F1F0D0
accent
#D50DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #787AED

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

Preview Lab → · Contrast checker → · Palette generator →

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