#786DD3#786DD3

#786DD3 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.3% C 0.151 H 285.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#786DD3
RGBrgb(120, 109, 211)
HSLhsl(246, 54%, 63%)
HSVhsv(246, 48%, 83%)
CMYKcmyk(43.1%, 48.3%, 0%, 17.3%)
CIE-LABlab(51.42, 29.63, -51.37)
CIE-LCHlch(51.42, 59.30, 299.97°)
OKLaboklab(59.3% 0.041 -0.1457)
OKLCHoklch(59.3% 0.151 285.7)
XYZxyz(24.9689, 19.6325, 64.0892)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786DD3 #C8D36D
analogous
#6D95D3 #786DD3 #AB6DD3
triadic
#786DD3 #D3786D #6DD378
tetradic
#786DD3 #D36D95 #C8D36D #6DD3AB
square
#786DD3 #D36D95 #C8D36D #6DD3AB
split-complementary
#786DD3 #D3AB6D #95D36D
monochromatic
#392E98 #4D3EC5 #786DD3 #A39CE1 #CFCBEF

Accessibility & contrast

On white

4.26
#786DD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#786DD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786DD3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786DD3#FFFFFF#000000##000000
##786DD31.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#437DD7
Deuteranopia (green-blind)
#4178D1
Tritanopia (blue-blind)
#5C8296
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #786dd3;
/* rgb */ color: rgb(120, 109, 211);
/* oklch */ color: oklch(59.3% 0.151 285.7);
Tailwind
colors: {
  custom: {
    50: '#a497e1',
    500: '#786dd3',
    950: '#000000',
  },
}
SCSS
$custom: #786dd3;
$custom-light: #a497e1;
$custom-dark: #000000;
JSON
{
  "hex": "#786dd3",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 211
  },
  "hsl": {
    "h": 246.471,
    "s": 53.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59304,
    "c": 0.15135,
    "h": 285.7
  },
  "luminance": 0.19633
}

Semantic roles & 50–950 ramp

primary
#786DD3
secondary
#DCE0BB
accent
#C124B0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #786DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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