#786EB4#786EB4

#786EB4 is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.7% C 0.106 H 289.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#786EB4
RGBrgb(120, 110, 180)
HSLhsl(249, 32%, 57%)
HSVhsv(249, 39%, 71%)
CMYKcmyk(33.3%, 38.9%, 0%, 29.4%)
CIE-LABlab(50.03, 20.33, -35.79)
CIE-LCHlch(50.03, 41.16, 299.60°)
OKLaboklab(57.71% 0.0349 -0.1002)
OKLCHoklch(57.71% 0.106 289.2)
XYZxyz(21.5577, 18.4397, 45.5946)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EB4 #AAB46E
analogous
#6E87B4 #786EB4 #9B6EB4
triadic
#786EB4 #B4786E #6EB478
tetradic
#786EB4 #B46E87 #AAB46E #6EB49B
square
#786EB4 #B46E87 #AAB46E #6EB49B
split-complementary
#786EB4 #B49B6E #87B46E
monochromatic
#41396E #584E97 #786EB4 #9E96C9 #C3BFDE

Accessibility & contrast

On white

4.48
#786EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#786EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EB4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EB4#FFFFFF#000000##000000
##786EB41.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5978B7
Deuteranopia (green-blind)
#5975B2
Tritanopia (blue-blind)
#697B88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #786eb4;
/* rgb */ color: rgb(120, 110, 180);
/* oklch */ color: oklch(57.7% 0.106 289.2);
Tailwind
colors: {
  custom: {
    50: '#a197cb',
    500: '#786eb4',
    950: '#000000',
  },
}
SCSS
$custom: #786eb4;
$custom-light: #a197cb;
$custom-dark: #000000;
JSON
{
  "hex": "#786eb4",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 180
  },
  "hsl": {
    "h": 248.571,
    "s": 31.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57713,
    "c": 0.10609,
    "h": 289.2
  },
  "luminance": 0.1844
}

Semantic roles & 50–950 ramp

primary
#786EB4
secondary
#C9CDB1
accent
#C860B9
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #786EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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