#786DFD#786DFD

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

Color values

HEX#786DFD
RGBrgb(120, 109, 253)
HSLhsl(245, 97%, 71%)
HSVhsv(245, 57%, 99%)
CMYKcmyk(52.6%, 56.9%, 0%, 0.8%)
CIE-LABlab(54.05, 42.01, -70.69)
CIE-LCHlch(54.05, 82.23, 300.72°)
OKLaboklab(62.11% 0.0429 -0.2025)
OKLCHoklch(62.11% 0.207 282)
XYZxyz(30.9385, 22.0204, 95.5296)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786DFD #F2FD6D
analogous
#6DAAFD #786DFD #C06DFD
triadic
#786DFD #FD786D #6DFD78
tetradic
#786DFD #FD6DAA #F2FD6D #6DFDC0
square
#786DFD #FD6DAA #F2FD6D #6DFDC0
split-complementary
#786DFD #FDC06D #AAFD6D
monochromatic
#1503EC #4031FC #786DFD #B0A9FE #E3E1FF

Accessibility & contrast

On white

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

On black

5.40
#786DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786DFD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786DFD#FFFFFF#000000##000000
##786DFD1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #786dfd;
/* rgb */ color: rgb(120, 109, 253);
/* oklch */ color: oklch(62.1% 0.207 282.0);
Tailwind
colors: {
  custom: {
    50: '#a997ff',
    500: '#786dfd',
    950: '#000000',
  },
}
SCSS
$custom: #786dfd;
$custom-light: #a997ff;
$custom-dark: #000000;
JSON
{
  "hex": "#786dfd",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 244.583,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.62105,
    "c": 0.20698,
    "h": 282
  },
  "luminance": 0.22022
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #786DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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