#786FA6#786FA6

#786FA6 is a mid, moderate blue. Relative luminance 0.181; OKLCH L 57.2% C 0.084 H 291.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#786FA6
RGBrgb(120, 111, 166)
HSLhsl(250, 24%, 54%)
HSVhsv(250, 33%, 65%)
CMYKcmyk(27.7%, 33.1%, 0%, 34.9%)
CIE-LABlab(49.64, 16.02, -28.26)
CIE-LCHlch(49.64, 32.48, 299.55°)
OKLaboklab(57.2% 0.0301 -0.0784)
OKLCHoklch(57.2% 0.084 291)
XYZxyz(20.3114, 18.1148, 38.4954)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FA6 #9DA66F
analogous
#6F82A6 #786FA6 #946FA6
triadic
#786FA6 #A6786F #6FA678
tetradic
#786FA6 #A66F82 #9DA66F #6FA694
square
#786FA6 #A66F82 #9DA66F #6FA694
split-complementary
#786FA6 #A6946F #82A66F
monochromatic
#413B60 #5B5285 #786FA6 #9B95BD #BFBBD5

Accessibility & contrast

On white

4.54
#786FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#786FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FA6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FA6#FFFFFF#000000##000000
##786FA61.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6077A8
Deuteranopia (green-blind)
#6175A5
Tritanopia (blue-blind)
#6E7983
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #786fa6;
/* rgb */ color: rgb(120, 111, 166);
/* oklch */ color: oklch(57.2% 0.084 291.0);
Tailwind
colors: {
  custom: {
    50: '#a098c0',
    500: '#786fa6',
    950: '#000000',
  },
}
SCSS
$custom: #786fa6;
$custom-light: #a098c0;
$custom-dark: #000000;
JSON
{
  "hex": "#786fa6",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 166
  },
  "hsl": {
    "h": 249.818,
    "s": 23.605,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57201,
    "c": 0.08402,
    "h": 291
  },
  "luminance": 0.18115
}

Semantic roles & 50–950 ramp

primary
#786FA6
secondary
#C0C4AD
accent
#C068B2
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0F0D12
muted
#7E7E81

Preview Lab

Preview with #786FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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