#786EB2#786EB2

#786EB2 is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.6% C 0.103 H 289.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#786EB2
RGBrgb(120, 110, 178)
HSLhsl(249, 31%, 56%)
HSVhsv(249, 38%, 70%)
CMYKcmyk(32.6%, 38.2%, 0%, 30.2%)
CIE-LABlab(49.93, 19.79, -34.78)
CIE-LCHlch(49.93, 40.02, 299.64°)
OKLaboklab(57.61% 0.0344 -0.0973)
OKLCHoklch(57.61% 0.103 289.5)
XYZxyz(21.3554, 18.3588, 44.5293)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EB2 #A8B26E
analogous
#6E86B2 #786EB2 #9A6EB2
triadic
#786EB2 #B2786E #6EB278
tetradic
#786EB2 #B26E86 #A8B26E #6EB29A
square
#786EB2 #B26E86 #A8B26E #6EB29A
split-complementary
#786EB2 #B29A6E #86B26E
monochromatic
#41396C #594F94 #786EB2 #9D96C7 #C2BEDC

Accessibility & contrast

On white

4.50
#786EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#786EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EB2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EB2#FFFFFF#000000##000000
##786EB21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A78B5
Deuteranopia (green-blind)
#5A75B0
Tritanopia (blue-blind)
#6A7A87
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #786eb2;
/* rgb */ color: rgb(120, 110, 178);
/* oklch */ color: oklch(57.6% 0.103 289.5);
Tailwind
colors: {
  custom: {
    50: '#a197c9',
    500: '#786eb2',
    950: '#000000',
  },
}
SCSS
$custom: #786eb2;
$custom-light: #a197c9;
$custom-dark: #000000;
JSON
{
  "hex": "#786eb2",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 178
  },
  "hsl": {
    "h": 248.824,
    "s": 30.631,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57607,
    "c": 0.10319,
    "h": 289.5
  },
  "luminance": 0.18359
}

Semantic roles & 50–950 ramp

primary
#786EB2
secondary
#C8CCB0
accent
#C761B8
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #786EB2

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

Preview Lab → · Contrast checker → · Palette generator →

#786EB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva