#786BDA#786BDA

#786BDA is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.4% C 0.164 H 285.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#786BDA
RGBrgb(120, 107, 218)
HSLhsl(247, 60%, 64%)
HSVhsv(247, 51%, 85%)
CMYKcmyk(45%, 50.9%, 0%, 14.5%)
CIE-LABlab(51.35, 32.84, -55.46)
CIE-LCHlch(51.35, 64.45, 300.63°)
OKLaboklab(59.38% 0.0441 -0.1577)
OKLCHoklch(59.38% 0.164 285.6)
XYZxyz(25.6546, 19.5693, 68.7416)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786BDA #CDDA6B
analogous
#6B95DA #786BDA #AF6BDA
triadic
#786BDA #DA786B #6BDA78
tetradic
#786BDA #DA6B95 #CDDA6B #6BDAAF
square
#786BDA #DA6B95 #CDDA6B #6BDAAF
split-complementary
#786BDA #DAAF6B #95DA6B
monochromatic
#3729A2 #4B3ACE #786BDA #A59CE6 #D1CDF2

Accessibility & contrast

On white

4.27
#786BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#786BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786BDA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786BDA#FFFFFF#000000##000000
##786BDA1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#387DDE
Deuteranopia (green-blind)
#3577D8
Tritanopia (blue-blind)
#598398
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #786bda;
/* rgb */ color: rgb(120, 107, 218);
/* oklch */ color: oklch(59.4% 0.164 285.6);
Tailwind
colors: {
  custom: {
    50: '#a495e6',
    500: '#786bda',
    950: '#000000',
  },
}
SCSS
$custom: #786bda;
$custom-light: #a495e6;
$custom-dark: #000000;
JSON
{
  "hex": "#786bda",
  "rgb": {
    "r": 120,
    "g": 107,
    "b": 218
  },
  "hsl": {
    "h": 247.027,
    "s": 60,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59382,
    "c": 0.16373,
    "h": 285.6
  },
  "luminance": 0.1957
}

Semantic roles & 50–950 ramp

primary
#786BDA
secondary
#DFE4BD
accent
#C81EB4
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #786BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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