#786DF4#786DF4

#786DF4 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.5% C 0.195 H 282.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#786DF4
RGBrgb(120, 109, 244)
HSLhsl(245, 86%, 69%)
HSVhsv(245, 55%, 96%)
CMYKcmyk(50.8%, 55.3%, 0%, 4.3%)
CIE-LABlab(53.45, 39.33, -66.67)
CIE-LCHlch(53.45, 77.40, 300.54°)
OKLaboklab(61.47% 0.0429 -0.1906)
OKLCHoklch(61.47% 0.195 282.7)
XYZxyz(29.5385, 21.4604, 88.1562)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786DF4 #E9F46D
analogous
#6DA6F4 #786DF4 #BC6DF4
triadic
#786DF4 #F4786D #6DF478
tetradic
#786DF4 #F46DA6 #E9F46D #6DF4BC
square
#786DF4 #F46DA6 #E9F46D #6DF4BC
split-complementary
#786DF4 #F4BC6D #A6F46D
monochromatic
#2010D6 #4334F0 #786DF4 #ADA6F8 #E1DFFD

Accessibility & contrast

On white

3.97
#786DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#786DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786DF4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786DF4#FFFFFF#000000##000000
##786DF41.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E84F9
Deuteranopia (green-blind)
#007BF1
Tritanopia (blue-blind)
#478CA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #786df4;
/* rgb */ color: rgb(120, 109, 244);
/* oklch */ color: oklch(61.5% 0.195 282.7);
Tailwind
colors: {
  custom: {
    50: '#a797f9',
    500: '#786df4',
    950: '#000000',
  },
}
SCSS
$custom: #786df4;
$custom-light: #a797f9;
$custom-dark: #000000;
JSON
{
  "hex": "#786df4",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 244
  },
  "hsl": {
    "h": 244.889,
    "s": 85.987,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61471,
    "c": 0.1954,
    "h": 282.7
  },
  "luminance": 0.21462
}

Semantic roles & 50–950 ramp

primary
#786DF4
secondary
#EFF2CB
accent
#E303D0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #786DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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