#787ABE#787ABE

#787ABE is a mid, moderate blue. Relative luminance 0.216; OKLCH L 60.6% C 0.103 H 281.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#787ABE
RGBrgb(120, 122, 190)
HSLhsl(238, 35%, 61%)
HSVhsv(238, 37%, 75%)
CMYKcmyk(36.8%, 35.8%, 0%, 25.5%)
CIE-LABlab(53.63, 15.88, -35.89)
CIE-LCHlch(53.63, 39.25, 293.87°)
OKLaboklab(60.63% 0.0206 -0.1005)
OKLCHoklch(60.63% 0.103 281.6)
XYZxyz(23.9969, 21.6290, 51.6157)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787ABE #BEBC78
analogous
#789DBE #787ABE #9978BE
triadic
#787ABE #BE787A #7ABE78
tetradic
#787ABE #BE789D #BEBC78 #78BE99
square
#787ABE #BE789D #BEBC78 #78BE99
split-complementary
#787ABE #BE9978 #9DBE78
monochromatic
#3D3F7F #5153A8 #787ABE #A1A3D2 #CBCBE6

Accessibility & contrast

On white

3.94
#787ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#787ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787ABE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787ABE#FFFFFF#000000##000000
##787ABE1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6483C1
Deuteranopia (green-blind)
#617EBC
Tritanopia (blue-blind)
#658793
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #787abe;
/* rgb */ color: rgb(120, 122, 190);
/* oklch */ color: oklch(60.6% 0.103 281.6);
Tailwind
colors: {
  custom: {
    50: '#a1a0d2',
    500: '#787abe',
    950: '#000000',
  },
}
SCSS
$custom: #787abe;
$custom-light: #a1a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#787abe",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 238.286,
    "s": 35,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60629,
    "c": 0.10257,
    "h": 281.6
  },
  "luminance": 0.2163
}

Semantic roles & 50–950 ramp

primary
#787ABE
secondary
#D6D5BC
accent
#AA38AE
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #787ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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