#786BFC#786BFC

#786BFC is a mid, highly saturated blue. Relative luminance 0.215; OKLCH L 61.7% C 0.208 H 282.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#786BFC
RGBrgb(120, 107, 252)
HSLhsl(245, 96%, 70%)
HSVhsv(245, 58%, 99%)
CMYKcmyk(52.4%, 57.5%, 0%, 1.2%)
CIE-LABlab(53.53, 42.87, -70.98)
CIE-LCHlch(53.53, 82.92, 301.13°)
OKLaboklab(61.7% 0.0449 -0.2033)
OKLCHoklch(61.7% 0.208 282.5)
XYZxyz(30.5687, 21.5350, 94.6225)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786BFC #EFFC6B
analogous
#6BA7FC #786BFC #C06BFC
triadic
#786BFC #FC786B #6BFC78
tetradic
#786BFC #FC6BA7 #EFFC6B #6BFCC0
square
#786BFC #FC6BA7 #EFFC6B #6BFCC0
split-complementary
#786BFC #FCC06B #A7FC6B
monochromatic
#1905E8 #412FFB #786BFC #AFA7FD #E4E1FE

Accessibility & contrast

On white

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

On black

5.31
#786BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786BFC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786BFC#FFFFFF#000000##000000
##786BFC1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007BF9
Tritanopia (blue-blind)
#408DA9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #786bfc;
/* rgb */ color: rgb(120, 107, 252);
/* oklch */ color: oklch(61.7% 0.208 282.5);
Tailwind
colors: {
  custom: {
    50: '#a996fe',
    500: '#786bfc',
    950: '#000000',
  },
}
SCSS
$custom: #786bfc;
$custom-light: #a996fe;
$custom-dark: #000000;
JSON
{
  "hex": "#786bfc",
  "rgb": {
    "r": 120,
    "g": 107,
    "b": 252
  },
  "hsl": {
    "h": 245.379,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.617,
    "c": 0.20824,
    "h": 282.5
  },
  "luminance": 0.21537
}

Semantic roles & 50–950 ramp

primary
#786BFC
secondary
#F2F5CE
accent
#E600D1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #786BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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