#787ACA#787ACA

#787ACA is a mid, moderate blue. Relative luminance 0.222; OKLCH L 61.3% C 0.120 H 281.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#787ACA
RGBrgb(120, 122, 202)
HSLhsl(239, 44%, 63%)
HSVhsv(239, 41%, 79%)
CMYKcmyk(40.6%, 39.6%, 0%, 20.8%)
CIE-LABlab(54.21, 19.26, -41.82)
CIE-LCHlch(54.21, 46.04, 294.73°)
OKLaboklab(61.27% 0.0232 -0.1177)
OKLCHoklch(61.27% 0.12 281.2)
XYZxyz(25.3628, 22.1754, 58.8096)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787ACA #CAC878
analogous
#78A3CA #787ACA #9F78CA
triadic
#787ACA #CA787A #7ACA78
tetradic
#787ACA #CA78A3 #CAC878 #78CA9F
square
#787ACA #CA78A3 #CAC878 #78CA9F
split-complementary
#787ACA #CA9F78 #A3CA78
monochromatic
#383A8F #4C4FB9 #787ACA #A4A5DB #D0D1ED

Accessibility & contrast

On white

3.86
#787ACA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#787ACA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787ACA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787ACA#FFFFFF#000000##000000
##787ACA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CD
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#5F8A98
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #787aca;
/* rgb */ color: rgb(120, 122, 202);
/* oklch */ color: oklch(61.3% 0.120 281.2);
Tailwind
colors: {
  custom: {
    50: '#a2a0da',
    500: '#787aca',
    950: '#000000',
  },
}
SCSS
$custom: #787aca;
$custom-light: #a2a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#787aca",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 202
  },
  "hsl": {
    "h": 238.537,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61265,
    "c": 0.11998,
    "h": 281.2
  },
  "luminance": 0.22176
}

Semantic roles & 50–950 ramp

primary
#787ACA
secondary
#DEDDC0
accent
#B32FB7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #787ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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