#786FF8#786FF8

#786FF8 is a light, vivid blue. Relative luminance 0.221; OKLCH L 62.1% C 0.198 H 281.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#786FF8
RGBrgb(120, 111, 248)
HSLhsl(244, 91%, 70%)
HSVhsv(244, 55%, 97%)
CMYKcmyk(51.6%, 55.2%, 0%, 2.7%)
CIE-LABlab(54.17, 39.35, -67.72)
CIE-LCHlch(54.17, 78.32, 300.16°)
OKLaboklab(62.09% 0.0409 -0.1937)
OKLCHoklch(62.09% 0.198 281.9)
XYZxyz(30.3683, 22.1375, 91.4615)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FF8 #EFF86F
analogous
#6FAAF8 #786FF8 #BD6FF8
triadic
#786FF8 #F8786F #6FF878
tetradic
#786FF8 #F86FAA #EFF86F #6FF8BD
square
#786FF8 #F86FAA #EFF86F #6FF8BD
split-complementary
#786FF8 #F8BD6F #AAF86F
monochromatic
#190BE2 #4135F5 #786FF8 #AFA9FB #E4E2FE

Accessibility & contrast

On white

3.87
#786FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#786FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FF8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FF8#FFFFFF#000000##000000
##786FF81.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C86FD
Deuteranopia (green-blind)
#007DF5
Tritanopia (blue-blind)
#438EA9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #786ff8;
/* rgb */ color: rgb(120, 111, 248);
/* oklch */ color: oklch(62.1% 0.198 281.9);
Tailwind
colors: {
  custom: {
    50: '#a898fb',
    500: '#786ff8',
    950: '#000000',
  },
}
SCSS
$custom: #786ff8;
$custom-light: #a898fb;
$custom-dark: #000000;
JSON
{
  "hex": "#786ff8",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 248
  },
  "hsl": {
    "h": 243.942,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.62091,
    "c": 0.198,
    "h": 281.9
  },
  "luminance": 0.22139
}

Semantic roles & 50–950 ramp

primary
#786FF8
secondary
#F2F4CF
accent
#E600D6
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #786FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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