#786FBD#786FBD

#786FBD is a mid, moderate blue. Relative luminance 0.190; OKLCH L 58.4% C 0.118 H 287.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#786FBD
RGBrgb(120, 111, 189)
HSLhsl(247, 37%, 59%)
HSVhsv(247, 41%, 74%)
CMYKcmyk(36.5%, 41.3%, 0%, 25.9%)
CIE-LABlab(50.73, 22.20, -39.88)
CIE-LCHlch(50.73, 45.64, 299.10°)
OKLaboklab(58.4% 0.0353 -0.1121)
OKLCHoklch(58.4% 0.118 287.5)
XYZxyz(22.6130, 19.0354, 50.6170)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FBD #B4BD6F
analogous
#6F8DBD #786FBD #9F6FBD
triadic
#786FBD #BD786F #6FBD78
tetradic
#786FBD #BD6F8D #B4BD6F #6FBD9F
square
#786FBD #BD6F8D #B4BD6F #6FBD9F
split-complementary
#786FBD #BD9F6F #8DBD6F
monochromatic
#3F387A #554BA4 #786FBD #9F99D0 #C7C3E3

Accessibility & contrast

On white

4.37
#786FBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#786FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FBD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FBD#FFFFFF#000000##000000
##786FBD1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#557BC0
Deuteranopia (green-blind)
#5577BB
Tritanopia (blue-blind)
#667E8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #786fbd;
/* rgb */ color: rgb(120, 111, 189);
/* oklch */ color: oklch(58.4% 0.118 287.5);
Tailwind
colors: {
  custom: {
    50: '#a298d1',
    500: '#786fbd',
    950: '#000000',
  },
}
SCSS
$custom: #786fbd;
$custom-light: #a298d1;
$custom-dark: #000000;
JSON
{
  "hex": "#786fbd",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 189
  },
  "hsl": {
    "h": 246.923,
    "s": 37.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58395,
    "c": 0.11751,
    "h": 287.5
  },
  "luminance": 0.19036
}

Semantic roles & 50–950 ramp

primary
#786FBD
secondary
#D0D3B5
accent
#CD5BC0
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #786FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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