#786FB0#786FB0

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

Color values

HEX#786FB0
RGBrgb(120, 111, 176)
HSLhsl(248, 29%, 56%)
HSVhsv(248, 37%, 69%)
CMYKcmyk(31.8%, 36.9%, 0%, 31%)
CIE-LABlab(50.09, 18.65, -33.37)
CIE-LCHlch(50.09, 38.23, 299.21°)
OKLaboklab(57.7% 0.0326 -0.0932)
OKLCHoklch(57.7% 0.099 289.3)
XYZxyz(21.2646, 18.4961, 43.5156)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FB0 #A7B06F
analogous
#6F87B0 #786FB0 #996FB0
triadic
#786FB0 #B0786F #6FB078
tetradic
#786FB0 #B06F87 #A7B06F #6FB099
square
#786FB0 #B06F87 #A7B06F #6FB099
split-complementary
#786FB0 #B0996F #87B06F
monochromatic
#413A6A #595092 #786FB0 #9D97C6 #C2BEDB

Accessibility & contrast

On white

4.47
#786FB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##786FB0#FFFFFF#000000##000000
##786FB01.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C79B3
Deuteranopia (green-blind)
#5C76AE
Tritanopia (blue-blind)
#6B7B87
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #786fb0;
/* rgb */ color: rgb(120, 111, 176);
/* oklch */ color: oklch(57.7% 0.099 289.3);
Tailwind
colors: {
  custom: {
    50: '#a198c8',
    500: '#786fb0',
    950: '#000000',
  },
}
SCSS
$custom: #786fb0;
$custom-light: #a198c8;
$custom-dark: #000000;
JSON
{
  "hex": "#786fb0",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 176
  },
  "hsl": {
    "h": 248.308,
    "s": 29.148,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57701,
    "c": 0.0987,
    "h": 289.3
  },
  "luminance": 0.18497
}

Semantic roles & 50–950 ramp

primary
#786FB0
secondary
#C7CBB0
accent
#C562B8
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #786FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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