#786DF9#786DF9

#786DF9 is a mid, highly saturated blue. Relative luminance 0.218; OKLCH L 61.8% C 0.202 H 282.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#786DF9
RGBrgb(120, 109, 249)
HSLhsl(245, 92%, 70%)
HSVhsv(245, 56%, 98%)
CMYKcmyk(51.8%, 56.2%, 0%, 2.4%)
CIE-LABlab(53.78, 40.82, -68.91)
CIE-LCHlch(53.78, 80.09, 300.64°)
OKLaboklab(61.82% 0.043 -0.1972)
OKLCHoklch(61.82% 0.202 282.3)
XYZxyz(30.3080, 21.7682, 92.2088)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786DF9 #EEF96D
analogous
#6DA8F9 #786DF9 #BE6DF9
triadic
#786DF9 #F9786D #6DF978
tetradic
#786DF9 #F96DA8 #EEF96D #6DF9BE
square
#786DF9 #F96DA8 #EEF96D #6DF9BE
split-complementary
#786DF9 #F9BE6D #A8F96D
monochromatic
#1A09E2 #4232F7 #786DF9 #AEA8FB #E4E2FE

Accessibility & contrast

On white

3.92
#786DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#786DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786DF9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786DF9#FFFFFF#000000##000000
##786DF91.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #786df9;
/* rgb */ color: rgb(120, 109, 249);
/* oklch */ color: oklch(61.8% 0.202 282.3);
Tailwind
colors: {
  custom: {
    50: '#a897fc',
    500: '#786df9',
    950: '#000000',
  },
}
SCSS
$custom: #786df9;
$custom-light: #a897fc;
$custom-dark: #000000;
JSON
{
  "hex": "#786df9",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 249
  },
  "hsl": {
    "h": 244.714,
    "s": 92.105,
    "l": 70.196
  },
  "oklch": {
    "l": 0.61821,
    "c": 0.20186,
    "h": 282.3
  },
  "luminance": 0.2177
}

Semantic roles & 50–950 ramp

primary
#786DF9
secondary
#F1F4CD
accent
#E600D3
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #786DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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