#786EF1#786EF1

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

Color values

HEX#786EF1
RGBrgb(120, 110, 241)
HSLhsl(245, 82%, 69%)
HSVhsv(245, 54%, 95%)
CMYKcmyk(50.2%, 54.4%, 0%, 5.5%)
CIE-LABlab(53.49, 37.85, -64.94)
CIE-LCHlch(53.49, 75.16, 300.23°)
OKLaboklab(61.44% 0.0418 -0.1855)
OKLCHoklch(61.44% 0.19 282.7)
XYZxyz(29.1940, 21.4942, 85.8125)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EF1 #E7F16E
analogous
#6EA6F1 #786EF1 #BA6EF1
triadic
#786EF1 #F1786E #6EF178
tetradic
#786EF1 #F16EA6 #E7F16E #6EF1BA
square
#786EF1 #F16EA6 #E7F16E #6EF1BA
split-complementary
#786EF1 #F1BA6E #A6F16E
monochromatic
#2314D0 #4436EC #786EF1 #ACA6F6 #E0DEFC

Accessibility & contrast

On white

3.96
#786EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#786EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EF1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EF1#FFFFFF#000000##000000
##786EF11.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D84F5
Deuteranopia (green-blind)
#097BEE
Tritanopia (blue-blind)
#498CA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #786ef1;
/* rgb */ color: rgb(120, 110, 241);
/* oklch */ color: oklch(61.4% 0.190 282.7);
Tailwind
colors: {
  custom: {
    50: '#a798f6',
    500: '#786ef1',
    950: '#000000',
  },
}
SCSS
$custom: #786ef1;
$custom-light: #a798f6;
$custom-dark: #000000;
JSON
{
  "hex": "#786ef1",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 241
  },
  "hsl": {
    "h": 244.58,
    "s": 82.39,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61436,
    "c": 0.19019,
    "h": 282.7
  },
  "luminance": 0.21496
}

Semantic roles & 50–950 ramp

primary
#786EF1
secondary
#EEF1CA
accent
#DF07CE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #786EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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