#786FF7#786FF7

#786FF7 is a light, vivid blue. Relative luminance 0.221; OKLCH L 62.0% C 0.197 H 282.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#786FF7
RGBrgb(120, 111, 247)
HSLhsl(244, 89%, 70%)
HSVhsv(244, 55%, 97%)
CMYKcmyk(51.4%, 55.1%, 0%, 3.1%)
CIE-LABlab(54.11, 39.05, -67.27)
CIE-LCHlch(54.11, 77.78, 300.14°)
OKLaboklab(62.02% 0.0409 -0.1924)
OKLCHoklch(62.02% 0.197 282)
XYZxyz(30.2135, 22.0756, 90.6466)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FF7 #EEF76F
analogous
#6FAAF7 #786FF7 #BC6FF7
triadic
#786FF7 #F7786F #6FF778
tetradic
#786FF7 #F76FAA #EEF76F #6FF7BC
square
#786FF7 #F76FAA #EEF76F #6FF7BC
split-complementary
#786FF7 #F7BC6F #AAF76F
monochromatic
#1A0CDF #4235F4 #786FF7 #AEA9FA #E4E2FD

Accessibility & contrast

On white

3.88
#786FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#786FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FF7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FF7#FFFFFF#000000##000000
##786FF71.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1086FC
Deuteranopia (green-blind)
#007DF4
Tritanopia (blue-blind)
#448EA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #786ff7;
/* rgb */ color: rgb(120, 111, 247);
/* oklch */ color: oklch(62.0% 0.197 282.0);
Tailwind
colors: {
  custom: {
    50: '#a898fb',
    500: '#786ff7',
    950: '#000000',
  },
}
SCSS
$custom: #786ff7;
$custom-light: #a898fb;
$custom-dark: #000000;
JSON
{
  "hex": "#786ff7",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 247
  },
  "hsl": {
    "h": 243.971,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.62022,
    "c": 0.19669,
    "h": 282
  },
  "luminance": 0.22077
}

Semantic roles & 50–950 ramp

primary
#786FF7
secondary
#F1F4CE
accent
#E600D6
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #786FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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