#786EBD#786EBD

#786EBD is a mid, moderate blue. Relative luminance 0.188; OKLCH L 58.2% C 0.119 H 287.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#786EBD
RGBrgb(120, 110, 189)
HSLhsl(248, 37%, 59%)
HSVhsv(248, 42%, 74%)
CMYKcmyk(36.5%, 41.8%, 0%, 25.9%)
CIE-LABlab(50.47, 22.80, -40.29)
CIE-LCHlch(50.47, 46.29, 299.51°)
OKLaboklab(58.2% 0.0366 -0.1133)
OKLCHoklch(58.2% 0.119 287.9)
XYZxyz(22.5045, 18.8184, 50.5809)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EBD #B3BD6E
analogous
#6E8BBD #786EBD #9F6EBD
triadic
#786EBD #BD786E #6EBD78
tetradic
#786EBD #BD6E8B #B3BD6E #6EBD9F
square
#786EBD #BD6E8B #B3BD6E #6EBD9F
split-complementary
#786EBD #BD9F6E #8BBD6E
monochromatic
#403779 #564AA3 #786EBD #9F98D0 #C6C2E3

Accessibility & contrast

On white

4.41
#786EBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#786EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EBD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EBD#FFFFFF#000000##000000
##786EBD1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#547AC0
Deuteranopia (green-blind)
#5376BB
Tritanopia (blue-blind)
#667D8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #786ebd;
/* rgb */ color: rgb(120, 110, 189);
/* oklch */ color: oklch(58.2% 0.119 287.9);
Tailwind
colors: {
  custom: {
    50: '#a297d1',
    500: '#786ebd',
    950: '#000000',
  },
}
SCSS
$custom: #786ebd;
$custom-light: #a297d1;
$custom-dark: #000000;
JSON
{
  "hex": "#786ebd",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 189
  },
  "hsl": {
    "h": 247.595,
    "s": 37.441,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58201,
    "c": 0.11903,
    "h": 287.9
  },
  "luminance": 0.18819
}

Semantic roles & 50–950 ramp

primary
#786EBD
secondary
#CFD3B4
accent
#CD5ABF
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #786EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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