#786EF4#786EF4

#786EF4 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.6% C 0.194 H 282.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#786EF4
RGBrgb(120, 110, 244)
HSLhsl(244, 86%, 69%)
HSVhsv(244, 55%, 96%)
CMYKcmyk(50.8%, 54.9%, 0%, 4.3%)
CIE-LABlab(53.68, 38.74, -66.29)
CIE-LCHlch(53.68, 76.78, 300.30°)
OKLaboklab(61.64% 0.0419 -0.1895)
OKLCHoklch(61.64% 0.194 282.5)
XYZxyz(29.6458, 21.6749, 88.1920)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EF4 #EAF46E
analogous
#6EA7F4 #786EF4 #BB6EF4
triadic
#786EF4 #F4786E #6EF478
tetradic
#786EF4 #F46EA7 #EAF46E #6EF4BB
square
#786EF4 #F46EA7 #EAF46E #6EF4BB
split-complementary
#786EF4 #F4BB6E #A7F46E
monochromatic
#1F10D7 #4335F0 #786EF4 #ADA7F8 #E2E0FD

Accessibility & contrast

On white

3.94
#786EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#786EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EF4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EF4#FFFFFF#000000##000000
##786EF41.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1585F9
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#468CA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #786ef4;
/* rgb */ color: rgb(120, 110, 244);
/* oklch */ color: oklch(61.6% 0.194 282.5);
Tailwind
colors: {
  custom: {
    50: '#a798f9',
    500: '#786ef4',
    950: '#000000',
  },
}
SCSS
$custom: #786ef4;
$custom-light: #a798f9;
$custom-dark: #000000;
JSON
{
  "hex": "#786ef4",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 244
  },
  "hsl": {
    "h": 244.478,
    "s": 85.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61642,
    "c": 0.1941,
    "h": 282.5
  },
  "luminance": 0.21677
}

Semantic roles & 50–950 ramp

primary
#786EF4
secondary
#EFF2CC
accent
#E203D2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #786EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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