#786AF9#786AF9

#786AF9 is a mid, highly saturated blue. Relative luminance 0.211; OKLCH L 61.3% C 0.206 H 282.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#786AF9
RGBrgb(120, 106, 249)
HSLhsl(246, 92%, 70%)
HSVhsv(246, 57%, 98%)
CMYKcmyk(51.8%, 57.4%, 0%, 2.4%)
CIE-LABlab(53.10, 42.56, -70.01)
CIE-LCHlch(53.10, 81.93, 301.29°)
OKLaboklab(61.32% 0.046 -0.2005)
OKLCHoklch(61.32% 0.206 282.9)
XYZxyz(29.9934, 21.1390, 92.1040)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786AF9 #EBF96A
analogous
#6AA4F9 #786AF9 #C06AF9
triadic
#786AF9 #F9786A #6AF978
tetradic
#786AF9 #F96AA4 #EBF96A #6AF9C0
square
#786AF9 #F96AA4 #EBF96A #6AF9C0
split-complementary
#786AF9 #F9C06A #A4F96A
monochromatic
#1E09E0 #432FF7 #786AF9 #ADA5FB #E3E0FE

Accessibility & contrast

On white

4.02
#786AF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#786AF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786AF9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786AF9#FFFFFF#000000##000000
##786AF91.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FE
Deuteranopia (green-blind)
#007AF6
Tritanopia (blue-blind)
#438BA7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #786af9;
/* rgb */ color: rgb(120, 106, 249);
/* oklch */ color: oklch(61.3% 0.206 282.9);
Tailwind
colors: {
  custom: {
    50: '#a895fc',
    500: '#786af9',
    950: '#000000',
  },
}
SCSS
$custom: #786af9;
$custom-light: #a895fc;
$custom-dark: #000000;
JSON
{
  "hex": "#786af9",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 249
  },
  "hsl": {
    "h": 245.874,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61319,
    "c": 0.20569,
    "h": 282.9
  },
  "luminance": 0.21141
}

Semantic roles & 50–950 ramp

primary
#786AF9
secondary
#F0F4CB
accent
#E600CF
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #786AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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