#786DFC#786DFC

#786DFC is a light, highly saturated blue. Relative luminance 0.220; OKLCH L 62.0% C 0.206 H 282.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#786DFC
RGBrgb(120, 109, 252)
HSLhsl(245, 96%, 71%)
HSVhsv(245, 57%, 99%)
CMYKcmyk(52.4%, 56.7%, 0%, 1.2%)
CIE-LABlab(53.98, 41.71, -70.25)
CIE-LCHlch(53.98, 81.70, 300.70°)
OKLaboklab(62.03% 0.0429 -0.2012)
OKLCHoklch(62.03% 0.206 282)
XYZxyz(30.7797, 21.9568, 94.6928)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786DFC #F1FC6D
analogous
#6DAAFC #786DFC #BF6DFC
triadic
#786DFC #FC786D #6DFC78
tetradic
#786DFC #FC6DAA #F1FC6D #6DFCBF
square
#786DFC #FC6DAA #F1FC6D #6DFCBF
split-complementary
#786DFC #FCBF6D #AAFC6D
monochromatic
#1605EA #4131FB #786DFC #AFA9FD #E3E1FE

Accessibility & contrast

On white

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

On black

5.39
#786DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786DFC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786DFC#FFFFFF#000000##000000
##786DFC1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007CF9
Tritanopia (blue-blind)
#3F8EAA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #786dfc;
/* rgb */ color: rgb(120, 109, 252);
/* oklch */ color: oklch(62.0% 0.206 282.0);
Tailwind
colors: {
  custom: {
    50: '#a897fe',
    500: '#786dfc',
    950: '#000000',
  },
}
SCSS
$custom: #786dfc;
$custom-light: #a897fe;
$custom-dark: #000000;
JSON
{
  "hex": "#786dfc",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 252
  },
  "hsl": {
    "h": 244.615,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.62034,
    "c": 0.2057,
    "h": 282
  },
  "luminance": 0.21959
}

Semantic roles & 50–950 ramp

primary
#786DFC
secondary
#F3F6CF
accent
#E600D4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #786DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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