#786EF9#786EF9

#786EF9 is a mid, highly saturated blue. Relative luminance 0.220; OKLCH L 62.0% C 0.201 H 282.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#786EF9
RGBrgb(120, 110, 249)
HSLhsl(244, 92%, 70%)
HSVhsv(244, 56%, 98%)
CMYKcmyk(51.8%, 55.8%, 0%, 2.4%)
CIE-LABlab(54.01, 40.23, -68.54)
CIE-LCHlch(54.01, 79.48, 300.41°)
OKLaboklab(61.99% 0.0419 -0.1961)
OKLCHoklch(61.99% 0.201 282.1)
XYZxyz(30.4153, 21.9827, 92.2446)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EF9 #EFF96E
analogous
#6EA9F9 #786EF9 #BE6EF9
triadic
#786EF9 #F9786E #6EF978
tetradic
#786EF9 #F96EA9 #EFF96E #6EF9BE
square
#786EF9 #F96EA9 #EFF96E #6EF9BE
split-complementary
#786EF9 #F9BE6E #A9F96E
monochromatic
#1909E3 #4133F7 #786EF9 #AFA9FB #E4E2FE

Accessibility & contrast

On white

3.89
#786EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#786EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EF9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EF9#FFFFFF#000000##000000
##786EF91.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FE
Deuteranopia (green-blind)
#007CF6
Tritanopia (blue-blind)
#428EA9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #786ef9;
/* rgb */ color: rgb(120, 110, 249);
/* oklch */ color: oklch(62.0% 0.201 282.1);
Tailwind
colors: {
  custom: {
    50: '#a898fc',
    500: '#786ef9',
    950: '#000000',
  },
}
SCSS
$custom: #786ef9;
$custom-light: #a898fc;
$custom-dark: #000000;
JSON
{
  "hex": "#786ef9",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 249
  },
  "hsl": {
    "h": 244.317,
    "s": 92.053,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6199,
    "c": 0.20057,
    "h": 282.1
  },
  "luminance": 0.21984
}

Semantic roles & 50–950 ramp

primary
#786EF9
secondary
#F2F4CE
accent
#E600D5
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #786EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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