#786EB6#786EB6

#786EB6 is a mid, moderate blue. Relative luminance 0.185; OKLCH L 57.8% C 0.109 H 288.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#786EB6
RGBrgb(120, 110, 182)
HSLhsl(248, 33%, 57%)
HSVhsv(248, 40%, 71%)
CMYKcmyk(34.1%, 39.6%, 0%, 28.6%)
CIE-LABlab(50.12, 20.88, -36.80)
CIE-LCHlch(50.12, 42.31, 299.57°)
OKLaboklab(57.82% 0.0353 -0.1031)
OKLCHoklch(57.82% 0.109 288.9)
XYZxyz(21.7629, 18.5218, 46.6753)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EB6 #ACB66E
analogous
#6E88B6 #786EB6 #9C6EB6
triadic
#786EB6 #B6786E #6EB678
tetradic
#786EB6 #B66E88 #ACB66E #6EB69C
square
#786EB6 #B66E88 #ACB66E #6EB69C
split-complementary
#786EB6 #B69C6E #88B66E
monochromatic
#413971 #584D9A #786EB6 #9E97CA #C4BFDF

Accessibility & contrast

On white

4.46
#786EB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#786EB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EB6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EB6#FFFFFF#000000##000000
##786EB61.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5879B9
Deuteranopia (green-blind)
#5876B4
Tritanopia (blue-blind)
#697B89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #786eb6;
/* rgb */ color: rgb(120, 110, 182);
/* oklch */ color: oklch(57.8% 0.109 288.9);
Tailwind
colors: {
  custom: {
    50: '#a197cc',
    500: '#786eb6',
    950: '#000000',
  },
}
SCSS
$custom: #786eb6;
$custom-light: #a197cc;
$custom-dark: #000000;
JSON
{
  "hex": "#786eb6",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 182
  },
  "hsl": {
    "h": 248.333,
    "s": 33.028,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.10898,
    "h": 288.9
  },
  "luminance": 0.18522
}

Semantic roles & 50–950 ramp

primary
#786EB6
secondary
#CACEB1
accent
#C95FBA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #786EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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