#787ADE#787ADE

#787ADE is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.4% C 0.148 H 280.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#787ADE
RGBrgb(120, 122, 222)
HSLhsl(239, 61%, 67%)
HSVhsv(239, 46%, 87%)
CMYKcmyk(45.9%, 45%, 0%, 12.9%)
CIE-LABlab(55.26, 25.08, -51.46)
CIE-LCHlch(55.26, 57.24, 295.98°)
OKLaboklab(62.41% 0.0266 -0.1459)
OKLCHoklch(62.41% 0.148 280.3)
XYZxyz(27.8861, 23.1847, 72.0988)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787ADE #DEDC78
analogous
#78ADDE #787ADE #A978DE
triadic
#787ADE #DE787A #7ADE78
tetradic
#787ADE #DE78AD #DEDC78 #78DEA9
square
#787ADE #DE78AD #DEDC78 #78DEA9
split-complementary
#787ADE #DEA978 #ADDE78
monochromatic
#2B2EB0 #474AD2 #787ADE #A9AAEA #DADBF6

Accessibility & contrast

On white

3.73
#787ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#787ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787ADE
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787ADE#FFFFFF#000000##000000
##787ADE1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5288E2
Deuteranopia (green-blind)
#4B81DC
Tritanopia (blue-blind)
#558FA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #787ade;
/* rgb */ color: rgb(120, 122, 222);
/* oklch */ color: oklch(62.4% 0.148 280.3);
Tailwind
colors: {
  custom: {
    50: '#a4a0e9',
    500: '#787ade',
    950: '#000000',
  },
}
SCSS
$custom: #787ade;
$custom-light: #a4a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#787ade",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 222
  },
  "hsl": {
    "h": 238.824,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62406,
    "c": 0.14827,
    "h": 280.3
  },
  "luminance": 0.23186
}

Semantic roles & 50–950 ramp

primary
#787ADE
secondary
#E9E8C9
accent
#C51DC8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #787ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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