#786EB9#786EB9

#786EB9 is a mid, moderate blue. Relative luminance 0.186; OKLCH L 58.0% C 0.113 H 288.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#786EB9
RGBrgb(120, 110, 185)
HSLhsl(248, 35%, 58%)
HSVhsv(248, 41%, 73%)
CMYKcmyk(35.1%, 40.5%, 0%, 27.5%)
CIE-LABlab(50.27, 21.70, -38.30)
CIE-LCHlch(50.27, 44.02, 299.53°)
OKLaboklab(57.98% 0.0359 -0.1075)
OKLCHoklch(57.98% 0.113 288.5)
XYZxyz(22.0763, 18.6471, 48.3256)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EB9 #AFB96E
analogous
#6E89B9 #786EB9 #9D6EB9
triadic
#786EB9 #B9786E #6EB978
tetradic
#786EB9 #B96E89 #AFB96E #6EB99D
square
#786EB9 #B96E89 #AFB96E #6EB99D
split-complementary
#786EB9 #B99D6E #89B96E
monochromatic
#403874 #574C9E #786EB9 #9E97CD #C5C1E1

Accessibility & contrast

On white

4.44
#786EB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#786EB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EB9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EB9#FFFFFF#000000##000000
##786EB91.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5679BC
Deuteranopia (green-blind)
#5676B7
Tritanopia (blue-blind)
#687C8A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #786eb9;
/* rgb */ color: rgb(120, 110, 185);
/* oklch */ color: oklch(58.0% 0.113 288.5);
Tailwind
colors: {
  custom: {
    50: '#a197ce',
    500: '#786eb9',
    950: '#000000',
  },
}
SCSS
$custom: #786eb9;
$custom-light: #a197ce;
$custom-dark: #000000;
JSON
{
  "hex": "#786eb9",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 185
  },
  "hsl": {
    "h": 248,
    "s": 34.884,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57981,
    "c": 0.1133,
    "h": 288.5
  },
  "luminance": 0.18648
}

Semantic roles & 50–950 ramp

primary
#786EB9
secondary
#CCD0B2
accent
#CB5DBC
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #786EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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