#786FBE#786FBE

#786FBE is a mid, moderate blue. Relative luminance 0.191; OKLCH L 58.5% C 0.119 H 287.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#786FBE
RGBrgb(120, 111, 190)
HSLhsl(247, 38%, 59%)
HSVhsv(247, 42%, 75%)
CMYKcmyk(36.8%, 41.6%, 0%, 25.5%)
CIE-LABlab(50.78, 22.47, -40.38)
CIE-LCHlch(50.78, 46.21, 299.10°)
OKLaboklab(58.45% 0.0355 -0.1135)
OKLCHoklch(58.45% 0.119 287.3)
XYZxyz(22.7219, 19.0790, 51.1907)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FBE #B5BE6F
analogous
#6F8EBE #786FBE #A06FBE
triadic
#786FBE #BE786F #6FBE78
tetradic
#786FBE #BE6F8E #B5BE6F #6FBEA0
square
#786FBE #BE6F8E #B5BE6F #6FBEA0
split-complementary
#786FBE #BEA06F #8EBE6F
monochromatic
#3F387B #554BA5 #786FBE #A099D1 #C7C3E4

Accessibility & contrast

On white

4.36
#786FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#786FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FBE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FBE#FFFFFF#000000##000000
##786FBE1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#557BC1
Deuteranopia (green-blind)
#5477BC
Tritanopia (blue-blind)
#667E8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #786fbe;
/* rgb */ color: rgb(120, 111, 190);
/* oklch */ color: oklch(58.5% 0.119 287.3);
Tailwind
colors: {
  custom: {
    50: '#a298d2',
    500: '#786fbe',
    950: '#000000',
  },
}
SCSS
$custom: #786fbe;
$custom-light: #a298d2;
$custom-dark: #000000;
JSON
{
  "hex": "#786fbe",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 190
  },
  "hsl": {
    "h": 246.835,
    "s": 37.799,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5845,
    "c": 0.11894,
    "h": 287.3
  },
  "luminance": 0.1908
}

Semantic roles & 50–950 ramp

primary
#786FBE
secondary
#D0D4B5
accent
#CE5AC1
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #786FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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